From 9000c01f82a16e3687d39cb19bf42612e4b310a2 Mon Sep 17 00:00:00 2001 From: Paolo Gatti Date: Thu, 3 Nov 2022 10:24:20 +0000 Subject: [PATCH] [FIX] account: Currency field if no accounting is set on the user The currency field shows as a badly aligned "in USD". This PR adds a proper handling of the combinations of accounting and multi_currency groups. Original PR in v15: https://github.com/odoo/odoo/pull/104013 closes odoo/odoo#108101 X-original-commit: d2363794411bbc9147b8ff0d519d588a3814e582 Signed-off-by: Nicolas Viseur (vin) Signed-off-by: Paolo Gatti (pgi) --- addons/account/views/account_move_views.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/addons/account/views/account_move_views.xml b/addons/account/views/account_move_views.xml index 7fd88656b64..39adeb9092f 100644 --- a/addons/account/views/account_move_views.xml +++ b/addons/account/views/account_move_views.xml @@ -851,6 +851,11 @@ groups="base.group_multi_currency" attrs="{'readonly': [('state', '!=', 'draft')], 'invisible': [('move_type', '=', 'entry')]}"/> + + +