[FIX] Can add annexes to draft contracts
This commit is contained in:
parent
aca1613fe9
commit
3211159e59
@ -41,7 +41,7 @@
|
|||||||
<!-- Uses to generate number of Annex -->
|
<!-- Uses to generate number of Annex -->
|
||||||
<field name="contract_annex_number" invisible="1"/>
|
<field name="contract_annex_number" invisible="1"/>
|
||||||
</group>
|
</group>
|
||||||
<group string="Annexed Specifications" name="annexes" attrs="{'invisible': [('id', '=', False)]}">
|
<group string="Annexed Specifications" name="annexes" attrs="{'invisible': ['|', ('id', '=', False), ('state', 'in', 'draft')]}">
|
||||||
<field name="contract_annex_ids" nolabel="1">
|
<field name="contract_annex_ids" nolabel="1">
|
||||||
<tree>
|
<tree>
|
||||||
<field name="display_name" string="Name"/>
|
<field name="display_name" string="Name"/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user