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