Skip to content

Commit

Permalink
[UPD] Field associate_member now invisible in partner form view
Browse files Browse the repository at this point in the history
  • Loading branch information
Stéphan Sainléger authored and njeudy committed Mar 30, 2022
1 parent a80f5a9 commit 6b71f65
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lcc_members/views/res_partner_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@
</group>
<separator string="Subscription history" attrs="{'invisible': [('is_company', '=', False)]}" />
</xpath>

<xpath expr="//field[@name='associate_member']" position="attributes">
<attribute name='invisible'>1</attribute>
</xpath>
<xpath expr="//field[@name='free_member']/../.." position='attributes'>
<attribute name='attrs'>{'invisible': [('contact_id','!=',False)]}</attribute>
</xpath>
Expand Down

0 comments on commit 6b71f65

Please sign in to comment.