fix3 Department

This commit is contained in:
Mazen Abdo 2024-11-06 12:39:48 +02:00
parent 1d2d145d9b
commit 538a2b3393
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@
<field name="license_number" readonly="1" force_save="1"/>
<field name="license_end" readonly="1" force_save="1"/>
<field name="custody_id" invisible="1"/>
<field name="departments_id" attrs="{'invisible': [('departments_id', '=', False)]}"/>
<field name="depart_id" attrs="{'invisible': [('departments_id', '=', False)]}"/>
</group>
<group col="4" colspan="2" string="delegated entity" attrs="{'invisible': [('delegation_type', '!=', 'branch')]}">
<!-- <field name="state_id" attrs="{'readonly': [('state', '!=', 'draft')],'required':[('delegation_type', '=', 'branch')]}" />-->