Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <data>
- <!--
- Done by RHT on the 03/02/3035
- Ticket : https://www.odoo.com/odoo/project/5686/tasks/4535462
- Pastebin :https://pastebin.com/Pc9fFnVa
- Need : Adapt the context of the subtaskcreation from the parent task, so that - by default - the task is visible in the project
- -->
- <xpath expr="//field[@name='child_ids']" position="attributes">
- <attribute name="context">{ 'default_project_id': project_id, 'default_display_in_project': True, 'default_user_ids': user_ids, 'default_parent_id': id, 'default_partner_id': partner_id, 'default_milestone_id': allow_milestones and milestone_id, 'kanban_view_ref': 'project.project_sub_task_view_kanban_mobile', }</attribute>
- </xpath>
- </data>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement