Merge branch 'pawan_branch' into 'development'

add subproject in calendar form view

See merge request prakash.jain/cor-odoo!146
This commit is contained in:
pawan.sharma 2021-03-08 22:43:15 -08:00
commit f61761ef1f
1 changed files with 1 additions and 0 deletions

View File

@ -160,6 +160,7 @@
<group>
<field name="project_id" required="1"
context="{'form_view_ref': 'project.project_project_view_form_simplified',}"/>
<field name="sub_project" options="{'no_open': True, 'no_create': True, 'no_create_edit': True}"/>
<field name="task_id" widget="task_with_hours" context="{'default_project_id': project_id}"
domain="[('project_id', '=', project_id)]"/>
<field name="company_id" groups="base.group_multi_company"/>