[FIX] account_usability_akretion: double Print button on invoice

This commit is contained in:
Alexis de Lattre
2025-11-07 17:43:13 +00:00
parent 2a008a303c
commit 1cea91eeaa

View File

@@ -16,7 +16,7 @@
<attribute name="class">btn-default</attribute>
</button>
<button name="action_register_payment" position="before">
<button name="%(account.account_invoices)d" type="action" string="Print" invisible="move_type not in ('out_invoice', 'out_refund')"/>
<button name="action_print_pdf" type="object" string="Print" invisible="move_type not in ('out_invoice', 'out_refund') or state != 'draft'"/>
</button>
<button name="preview_invoice" position="attributes">
<attribute name="invisible">1</attribute>