Merge pull request #1699 from expsa/zen_depart_id

fix depart_id
This commit is contained in:
mazenmuhamad 2024-11-06 13:31:47 +02:00 committed by GitHub
commit 517b6f8dc6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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_number" readonly="1" force_save="1"/>
<field name="license_end" readonly="1" force_save="1"/> <field name="license_end" readonly="1" force_save="1"/>
<field name="custody_id" invisible="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>
<group col="4" colspan="2" string="delegated entity" attrs="{'invisible': [('delegation_type', '!=', 'branch')]}"> <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')]}" />--> <!-- <field name="state_id" attrs="{'readonly': [('state', '!=', 'draft')],'required':[('delegation_type', '=', 'branch')]}" />-->