[FIX] partner_profiles: fix position profile creation issue

because field partner_profile was missing in the res_partner form
view, the computation of the profile booleans was broken.
This commit is contained in:
Stéphan Sainléger
2023-01-03 09:38:30 +01:00
parent b7ca3486cd
commit 38f0a31e38
2 changed files with 2 additions and 1 deletions

View File

@@ -19,6 +19,7 @@
<xpath expr="//field[@name='parent_id']" position="replace" />
<xpath expr="//field[@name='is_company']/.." position="after">
<group name="profile_data" class="bg-200">
<field name="partner_profile" readonly="1" invisible="1" />
<field name="is_main_profile" readonly="1" invisible="1" />
<field name="is_public_profile" readonly="1" invisible="1" />
<field name="is_position_profile" readonly="1" invisible="1" />