one2many_widget should hide parent_id
status: the field_id of the one2many relation must not be defined to allow data entry - and it is not necessary to display
and - IMHO - this is the default behavior
if there is a resource - (the default field order rarely fits so it needs a xml) which should be included in more than one2many relations it seems necessary to create a separate xml structure for every one2many relation, which is just the same, but with out the field pointing to the parent.
this is especially true for tree lists.
thank you
Example:
Table 1: Project
Table 2: Task
Table 3: User
Tasks has uplinks (many2one) to Project and User
lets define a xml for task - just these 3 fields
project_id,
user_id,
hours
when I call the tasks from projects with "task_ids" (one2many) only
user_id,
hours
should be listed
when I call the tasks from users with "task_ids" (one2many) only
project_id,
hours
should be listed
now it is necessary to define the 3 xml's above to get it working
if the one2many widget would just suppress the uplink field, it would be only necessary to define the first xml structure and just call task_ids without field specs.
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by