From 648117bb9356544503cb1d0cb0cbe780ebee8b36 Mon Sep 17 00:00:00 2001 From: "Nicolas (vin)" Date: Thu, 26 Nov 2020 12:23:00 +0000 Subject: [PATCH] [FIX] account: allow to display the line currency when exporting to xlsx Currently, when exporting move lines via for example the partner ledger, we are not displaying the currency in any way in the xlsx. For some company, this can be limiting since they may want to do post-treatment inside the file after export, which can require such information. This change will add the 'always_set_currency_id' field as optional into the list view of the amls, allowing to keep the information about the currency when exporting if needed. task id #2381355 closes odoo/odoo#68911 X-original-commit: 62bad5e50aa1fe579ecc07242a22ec6ab6031e71 Signed-off-by: Quentin De Paoli (qdp) Signed-off-by: Nicolas Viseur --- addons/account/i18n/account.pot | 6 ++++++ addons/account/views/account_move_views.xml | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/addons/account/i18n/account.pot b/addons/account/i18n/account.pot index 99222322b9e..1d26e39b823 100644 --- a/addons/account/i18n/account.pot +++ b/addons/account/i18n/account.pot @@ -8244,6 +8244,12 @@ msgstr "" msgid "Original Bills" msgstr "" +#. module: account +#: model_terms:ir.ui.view,arch_db:account.view_move_line_tree +#: model_terms:ir.ui.view,arch_db:account.view_move_line_tree_grouped +msgid "Original Currency" +msgstr "" + #. module: account #: model:ir.model.fields,field_description:account.field_account_move_line__payment_id msgid "Originator Payment" diff --git a/addons/account/views/account_move_views.xml b/addons/account/views/account_move_views.xml index 860d3c8a626..514bc74b94e 100644 --- a/addons/account/views/account_move_views.xml +++ b/addons/account/views/account_move_views.xml @@ -167,12 +167,12 @@ + - @@ -202,11 +202,11 @@ + -