[FIX] account: Duplicates a customer invoice

Fine tuning of this commit: a7cd820
When clicking on button "Duplicates" it printed "Duplicate + number". Now it prints
" Duplicate invoice + number" if the customer invoice is of type out_invoice.

opw:708440
This commit is contained in:
Goffin Simon
2017-03-07 23:45:33 +01:00
parent 76b724294a
commit 8c2db9a9a2
2 changed files with 7 additions and 1 deletions
+6 -1
View File
@@ -394,7 +394,7 @@ msgstr ""
#. module: account
#: model:ir.ui.view,arch_db:account.account_invoice_report_duplicate
msgid "<span>Duplicate</span>"
msgid "<span>invoice</span>"
msgstr ""
#. module: account
@@ -402,6 +402,11 @@ msgstr ""
msgid "<span>refund</span>"
msgstr ""
#. module: account
#: model:ir.ui.view,arch_db:account.account_invoice_report_duplicate
msgid "<span>Duplicate</span>"
msgstr ""
#. module: account
#: model:ir.ui.view,arch_db:account.account_journal_dashboard_kanban_view
msgid "<span>New Bill</span>"
+1
View File
@@ -167,6 +167,7 @@
<h2>
<span>Duplicate</span>
<span t-if="o.type == 'out_refund'">refund</span>
<span t-if="o.type == 'out_invoice'">invoice</span>
<span t-field="o.number"/>
</h2>
</xpath>