[FIX] account: Duplicates a refund customer invoice
When clicking on button "Invoices"(below "Print") on a refund customer invoice, it prints "Refund + number". But when clicking on button "Duplicates" it printed "Duplicate + number". Now it prints " Duplicate refund + number" if the customer invoice is of type out_refund. opw:708440
This commit is contained in:
@@ -397,6 +397,11 @@ msgstr ""
|
||||
msgid "<span>Duplicate</span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: account
|
||||
#: model:ir.ui.view,arch_db:account.account_invoice_report_duplicate
|
||||
msgid "<span>refund</span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: account
|
||||
#: model:ir.ui.view,arch_db:account.account_journal_dashboard_kanban_view
|
||||
msgid "<span>New Bill</span>"
|
||||
|
||||
@@ -166,6 +166,7 @@
|
||||
<xpath expr="//h2" position="replace">
|
||||
<h2>
|
||||
<span>Duplicate</span>
|
||||
<span t-if="o.type == 'out_refund'">refund</span>
|
||||
<span t-field="o.number"/>
|
||||
</h2>
|
||||
</xpath>
|
||||
|
||||
Reference in New Issue
Block a user