From 934b8b09ba97e04f357fb35962d32ac9a082f2ad Mon Sep 17 00:00:00 2001 From: william-andre Date: Mon, 12 Jul 2021 11:40:02 +0000 Subject: [PATCH] [FIX] account: allow to change currency when posted before MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There is no reason to forbid changing the currency when a move has been posted before. Was introduced in [1] without reason. [1] https://github.com/odoo/odoo/commit/d1bbf11af27e4ce12b025ef22e397302ee6336c2 closes odoo/odoo#73623 X-original-commit: 9b0578766709b27c91d85bf6246b4bc5e43ca27d Signed-off-by: Laurent Smet Signed-off-by: William André (wan) --- addons/account/views/account_move_views.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/views/account_move_views.xml b/addons/account/views/account_move_views.xml index 26adf95fa7c..3d0d84a3d69 100644 --- a/addons/account/views/account_move_views.xml +++ b/addons/account/views/account_move_views.xml @@ -821,7 +821,7 @@ groups="base.group_multi_currency"> in + attrs="{'readonly': [('state', '!=', 'draft')]}"/>