Browse Source

[IMP] add company register number

pull/1/head
houssine 7 years ago
parent
commit
a75ad34646
  1. 3
      easy_my_coop/view/res_partner_view.xml

3
easy_my_coop/view/res_partner_view.xml

@ -16,7 +16,8 @@
<xpath expr="/form/sheet/group" position='before'> <xpath expr="/form/sheet/group" position='before'>
<group> <group>
<field name="cooperator_register_number" readonly="True" attrs="{'invisible':[('member','=',False)]}"/> <field name="cooperator_register_number" readonly="True" attrs="{'invisible':[('member','=',False)]}"/>
<field name="national_register_number" readonly="True" attrs="{'invisible':[('is_company','=',True)]}" groups="easy_my_coop.group_energiris_super_manager"/>/>
<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="cooperator" groups="easy_my_coop.group_energiris_super_manager"/>
<field name="member" 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="cooperator_type" attrs="{'invisible':[('member','=',False)]}"/>

Loading…
Cancel
Save