Register payment on account.move form view is not highlighted any more

This commit is contained in:
Alexis de Lattre
2021-09-30 20:37:00 +02:00
parent 78c11411c3
commit ac54c5cc75

View File

@@ -18,6 +18,9 @@
<field name="invoice_incoterm_id" position="attributes">
<attribute name="widget">selection</attribute>
</field>
<button name="action_register_payment" position="attributes">
<attribute name="class">btn-default</attribute>
</button>
<button name="action_register_payment" position="before">
<button name="%(account.account_invoices)d" type="action" string="Print" attrs="{'invisible': [('move_type', 'not in', ('out_invoice', 'out_refund'))]}"/>
</button>