Update entity.xml
This commit is contained in:
parent
bd961fbc84
commit
0abf8901d0
|
|
@ -41,6 +41,7 @@
|
|||
domain="[('type','in',['employee'])]"/>
|
||||
<field name="child_ids" attrs="{'invisible': [('type', '!=', 'employee')]}"
|
||||
widget="many2many_tags" domain="[('type', 'in', ['unit'])]"/>
|
||||
<field name="image" attrs="{'invisible': [('type', '!=', 'employee')]} widget="image" options="{'max_width': 200, 'max_height': 200}"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="name" force_save ="1" attrs="{'readonly': [('type','=','employee')],'required':[('type','!=','employee')]}"/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue