fix depart_id

This commit is contained in:
Mazen Abdo 2024-11-06 13:31:06 +02:00
parent 52f418397d
commit 6e0735779f
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="depart_id" attrs="{'invisible': [('departments_id', '=', False)]}"/>
<field name="depart_id" attrs="{'invisible': [('depart_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')]}" />-->