Browse Source

[IMP] make cooperator field invisible

pull/1/head
houssine 7 years ago
parent
commit
fdb4d2df56
  1. 2
      easy_my_coop/view/res_partner_view.xml

2
easy_my_coop/view/res_partner_view.xml

@ -21,8 +21,8 @@
<field name="cooperator_register_number" readonly="True" attrs="{'invisible':[('member','=',False)]}"/>
<field name="company_register_number" readonly="True" attrs="{'invisible':[('is_company','=',False)]}"/>
<field name="national_register_number" readonly="True" attrs="{'invisible':[('is_company','=',True)]}" groups="easy_my_coop.group_energiris_super_manager"/>
<field name="cooperator" groups="easy_my_coop.group_energiris_super_manager"/>
<field name="coop_candidate" groups="easy_my_coop.group_energiris_user"/>
<field name="cooperator" invisible="True" groups="easy_my_coop.group_energiris_super_manager"/>
<field name="member" groups="easy_my_coop.group_energiris_super_manager"/>
<field name="cooperator_type" attrs="{'invisible':[('member','=',False)]}"/>
<field name="effective_date" attrs="{'invisible':[('member','=',False)]}"/>

Loading…
Cancel
Save