Browse Source

[IMP] add national register number to the res partner form

pull/1/head
houssine 8 years ago
parent
commit
9a1a3c9236
  1. 1
      easy_my_coop/view/res_partner_view.xml

1
easy_my_coop/view/res_partner_view.xml

@ -8,6 +8,7 @@
<xpath expr="/form/sheet/group" position='before'>
<group>
<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="cooperator" 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)]}"/>

Loading…
Cancel
Save