Skip to content

Commit

Permalink
[ADD] refs #14197 add membership request button on natural person
Browse files Browse the repository at this point in the history
  • Loading branch information
Cédric Pigeon committed Sep 18, 2015
1 parent 7a1d83c commit f549ece
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mozaik_membership/res_partner_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@
<button name="button_modification_request" string="Modification Request"
type="object" attrs="{'invisible': [('kind', '!=', 'm')]}"
invisible="(context.get('uid',0)!=1) and (context.get('in_mozaik_officer') or not context.get('in_mozaik_user'))"/>
<button name="button_modification_request" string="Membership Request"
type="object" attrs="{'invisible': ['|', ('kind', '=', 'm'), ('is_company', '=', True)]}"/>
</xpath>

<xpath expr="//header/div/button[@name='action_invalidate']" position="attributes">
Expand Down

0 comments on commit f549ece

Please sign in to comment.