Merge branch 'pawan_branch' into 'development'

change position of fields

See merge request prakash.jain/cor-odoo!132
This commit is contained in:
pawan.sharma 2021-02-24 21:23:46 -08:00
commit 936fd1b5c5
1 changed files with 8 additions and 7 deletions

View File

@ -8,24 +8,25 @@
<field name="inherit_id" ref="project.edit_project"/>
<field name="arch" type="xml">
<data>
<xpath expr="//field[@name='privacy_visibility']" position="after">
<xpath expr="//field[@name='allowed_internal_user_ids']" position="after">
<field name="is_sub_project" invisible="1"/>
</xpath>
<xpath expr="//field[@name='privacy_visibility']" position="after">
<xpath expr="//field[@name='allowed_internal_user_ids']" position="after">
<field name="parent_project" attrs="{'invisible': [('is_sub_project', '=', False)], 'required': [('is_sub_project', '=', True)]}"/>
</xpath>
<xpath expr="//page[@name='settings']" position="after">
<xpath expr="//field[@name='allowed_internal_user_ids']" position="after">
<field name="sub_project" widget="many2many_tags" attrs="{'invisible': [('is_sub_project', '=', True)]}"
options="{'no_open': True, 'no_create': True, 'no_create_edit': True}"/>
</xpath>
<!--<xpath expr="//page[@name='settings']" position="after">
<page name="sub_project" string="Sub Project"
attrs="{'invisible': [('is_sub_project', '=', True)]}">
<!--<group>
<field name="is_sub_project"/>
</group>-->
<group>
<field name="sub_project" widget="many2many_tags"
options="{'no_open': True, 'no_create': True, 'no_create_edit': True}"/>
</group>
</page>
</xpath>
</xpath>-->
</data>
</field>