[ADD] print button is invisible until record not saved
This commit is contained in:
parent
554444d433
commit
1084a2f945
@ -44,7 +44,7 @@
|
|||||||
<field name="contract_annex_ids">
|
<field name="contract_annex_ids">
|
||||||
<tree>
|
<tree>
|
||||||
<field name="name"/>
|
<field name="name"/>
|
||||||
<button name="action_print_form" type="object" string="Print" icon="fa-print"/>
|
<button name="action_print_form" type="object" string="Print" icon="fa-print" attrs="{'invisible': [('id', '=', False)]}"/>
|
||||||
</tree>
|
</tree>
|
||||||
</field>
|
</field>
|
||||||
</group>
|
</group>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user