From a7cd820fc14fbe183aba2289ee478ae337b8cb1c Mon Sep 17 00:00:00 2001 From: Goffin Simon Date: Tue, 7 Mar 2017 10:02:21 +0100 Subject: [PATCH] [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 --- addons/account/i18n/account.pot | 5 +++++ addons/account/views/report_invoice.xml | 1 + 2 files changed, 6 insertions(+) diff --git a/addons/account/i18n/account.pot b/addons/account/i18n/account.pot index e07135c43e6..eef8d521b8c 100644 --- a/addons/account/i18n/account.pot +++ b/addons/account/i18n/account.pot @@ -397,6 +397,11 @@ msgstr "" msgid "Duplicate" msgstr "" +#. module: account +#: model:ir.ui.view,arch_db:account.account_invoice_report_duplicate +msgid "refund" +msgstr "" + #. module: account #: model:ir.ui.view,arch_db:account.account_journal_dashboard_kanban_view msgid "New Bill" diff --git a/addons/account/views/report_invoice.xml b/addons/account/views/report_invoice.xml index 8e3779d5fd2..7d6738c5fcf 100644 --- a/addons/account/views/report_invoice.xml +++ b/addons/account/views/report_invoice.xml @@ -166,6 +166,7 @@

Duplicate + refund