Provide a work type in the context when opening tasks via the relate button on project
This commit is contained in:
@@ -193,6 +193,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="name">Tasks</field>
|
||||
<field name="res_model">project.work</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="context">{'type': 'task'}</field>
|
||||
<field name="domain">[('parent', '=', active_id), ('type', '=', 'task')]</field>
|
||||
</record>
|
||||
<record model="ir.action.keyword"
|
||||
|
||||
Reference in New Issue
Block a user