[IMP] partner_profiles: add ids to public and position groups

This commit is contained in:
Stéphan Sainléger
2023-09-04 22:22:11 +02:00
committed by Stéphan Sainléger
parent 102df5b9ef
commit 597340ff98
2 changed files with 4 additions and 3 deletions

View File

@@ -173,7 +173,7 @@
<!-- PUBLIC PROFILE DISPLAY -->
<!-- ###################### -->
<xpath expr="//field[@name='type']/../.." position="after">
<group attrs="{'invisible': [('is_public_profile','=',False)]}">
<group id="public_data" attrs="{'invisible': [('is_public_profile','=',False)]}">
<group>
<label for="street" string="Address" />
<div class="o_address_format">
@@ -210,7 +210,8 @@
<!-- POSITION PROFILE DISPLAY -->
<!-- ######################## -->
<xpath expr="//field[@name='type']/../.." position="after">
<group attrs="{'invisible': [('is_position_profile','=',False)]}">
<group id="position_data"
attrs="{'invisible': [('is_position_profile','=',False)]}">
<group>
<field name="function" />
</group>