[IMP] partner_profiles_portal: refactor position profil creation

This commit is contained in:
Stéphan Sainléger
2023-05-23 16:54:57 +02:00
committed by Stéphan Sainléger
parent a4c1c467c5
commit 9438f19140
8 changed files with 70 additions and 34 deletions

View File

@@ -19,22 +19,6 @@
<field name="edit_structure_profiles" />
</group>
</xpath>
<!-- page Contacts & Adresses -->
<xpath
expr="//field[@name='child_ids']/form/sheet/group/group/field[@name='comment']"
position="before">
<field name="edit_structure_profiles"
attrs="{'invisible': [('is_position_profile','=',False)]}" />
</xpath>
<!-- page Other Positions -->
<xpath
expr="//field[@name='other_contact_ids']/form/sheet/group/group/field[@name='parent_id']"
position="after">
<field name="edit_structure_profiles"
attrs="{'invisible': [('is_position_profile','=',False)]}" />
</xpath>
</field>
</record>
</data>