|
|
@ -17,18 +17,20 @@ |
|
|
|
|
|
|
|
<xpath expr="/form/sheet/group" position='before'> |
|
|
|
<group> |
|
|
|
<field name="representative" attrs="{'invisible':['|',('parent_id','=',False),('is_company','=',True)]}"/> |
|
|
|
<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_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)]}"/> |
|
|
|
</group> |
|
|
|
<group> |
|
|
|
<field name="gender" attrs="{'invisible':[('is_company','=',True)]}"/> |
|
|
|
<group> |
|
|
|
<field name="representative" attrs="{'invisible':['|',('parent_id','=',False),('is_company','=',True)]}"/> |
|
|
|
<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_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)]}"/> |
|
|
|
</group> |
|
|
|
<group> |
|
|
|
<field name="gender" attrs="{'invisible':[('is_company','=',True)]}"/> |
|
|
|
</group> |
|
|
|
</group> |
|
|
|
</xpath> |
|
|
|
|
|
|
|