From c31f9715081fd41088c5d2625007e2d71ef4dc5e Mon Sep 17 00:00:00 2001 From: Julien Van Roy Date: Mon, 8 Nov 2021 11:05:26 +0000 Subject: [PATCH] [IMP] account: hide field currency on misc journal - Hide the field 'currency' on the journal entries (for the miscellaneous journals only) because it is neither necessary functionally nor doing anything technically. - Accounting journal views: amount in currency is made optional (shown by default) - Journal entry view: currency is made optional (hidden by default) closes odoo/odoo#79486 Purpose: lighten the user interface/make it clearer Signed-off-by: Quentin De Paoli (qdp) --- addons/account/views/account_move_views.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/addons/account/views/account_move_views.xml b/addons/account/views/account_move_views.xml index e7ae291fa4e..dd6b78c1a07 100644 --- a/addons/account/views/account_move_views.xml +++ b/addons/account/views/account_move_views.xml @@ -200,7 +200,7 @@ - + @@ -833,13 +833,13 @@ options="{'no_create': True}" attrs="{'readonly': [('posted_before', '=', True)]}"/> in + groups="base.group_multi_currency" attrs="{'invisible': [('move_type', '=', 'entry')]}"> in in + groups="base.group_multi_currency" attrs="{'invisible': [('move_type', '=', 'entry')]}"> in + attrs="{'readonly': [('state', '!=', 'draft')], 'invisible': [('move_type', '=', 'entry')]}"/> @@ -1085,7 +1085,7 @@ groups="base.group_multi_currency" optional="hide"/>