[IMP] sale: promote create_invoices button

create invoice is a common action in sales orders listview that should be promoted for the better user experience

task-3037442

closes odoo/odoo#116495

Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
This commit is contained in:
Valeriya(vchu)
2023-03-30 18:58:54 +02:00
parent 647cf8fe63
commit 305aac3045
+6
View File
@@ -114,6 +114,12 @@
decoration-info="state == 'draft' or invoice_status == 'to invoice'"
decoration-primary="state == 'sent'"
decoration-muted="state == 'cancel'">
<header>
<button name="%(sale.action_view_sale_advance_payment_inv)d"
type="action"
string="Create Invoices"
class="btn-secondary"/>
</header>
<field name="message_needaction" invisible="1"/>
<field name="currency_id" invisible="1"/>