commit
3dbfbca3d9
|
|
@ -133,7 +133,7 @@
|
||||||
<group>
|
<group>
|
||||||
<group>
|
<group>
|
||||||
<field name="preparation_id" domain="[('type', 'in', ['unit'])]"
|
<field name="preparation_id" domain="[('type', 'in', ['unit'])]"
|
||||||
attrs="{'required':False,'readonly':[('state','not in', ['draft'])]}"
|
attrs="{'required':False,'readonly':True}"
|
||||||
options="{'no_create':True,'no_open':True}"/>
|
options="{'no_create':True,'no_open':True}"/>
|
||||||
<field name="reason" readonly="1"
|
<field name="reason" readonly="1"
|
||||||
attrs="{'invisible': ['|',('state','=','draft'),('reason','=',False)]}"/>
|
attrs="{'invisible': ['|',('state','=','draft'),('reason','=',False)]}"/>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue