From 7a39bc03270ac1e701bd94c44f8bc9546df5f3d7 Mon Sep 17 00:00:00 2001 From: "Nicolas (vin)" Date: Thu, 20 Aug 2020 12:41:35 +0000 Subject: [PATCH] [FIX] account: hide currency field when not in multi_currency There is a bug where the currency field is always visible/editable in the account_move view, even when multi_currency is disabled. This commit fix that issue. Task id #2318610 closes odoo/odoo#57292 X-original-commit: 93b02ae2ddc7d71b8bbfe82bceededa13ef70e0e Signed-off-by: Quentin De Paoli (qdp) --- addons/account/views/account_move_views.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/account/views/account_move_views.xml b/addons/account/views/account_move_views.xml index 664e151df21..60297130a4f 100644 --- a/addons/account/views/account_move_views.xml +++ b/addons/account/views/account_move_views.xml @@ -678,12 +678,12 @@ options="{'no_create': True}" attrs="{'readonly': [('posted_before', '=', True)]}"/> in + groups="base.group_multi_currency"> in in + groups="base.group_multi_currency"> in