|
@ -10,12 +10,13 @@ |
|
|
Update Cooperator Info. |
|
|
Update Cooperator Info. |
|
|
</p> |
|
|
</p> |
|
|
<group> |
|
|
<group> |
|
|
|
|
|
<field name="is_company" invisible="True"/> |
|
|
<field name="all"/> |
|
|
<field name="all"/> |
|
|
<field name="birthdate"/> |
|
|
<field name="birthdate"/> |
|
|
<field name="legal_form"/> |
|
|
<field name="legal_form"/> |
|
|
<field name="representative_function"/> |
|
|
<field name="representative_function"/> |
|
|
<field name="cooperator" readonly="True"/> |
|
|
<field name="cooperator" readonly="True"/> |
|
|
<field name="register_number" attrs="{'required':[('all', '=', False)]}"/> |
|
|
|
|
|
|
|
|
<field name="register_number" attrs="{'required':['|', ('is_company', '=', True), ('all', '=', False)], 'invisible':[('is_company', '=', False)]}"/> |
|
|
</group> |
|
|
</group> |
|
|
<footer> |
|
|
<footer> |
|
|
<button name="update" string="Update Info" type="object" class="btn-primary"/> |
|
|
<button name="update" string="Update Info" type="object" class="btn-primary"/> |
|
|