From 1273eb3f1e8c4fbb23bd5a28ab823f82dd5b0163 Mon Sep 17 00:00:00 2001 From: jbw Date: Thu, 21 Oct 2021 07:37:20 +0000 Subject: [PATCH] [IMP] account: set is_base_affected only visible in debug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Make tax field "Base Affected by Previous Taxes" only visible in debug mode. closes odoo/odoo#78733 Task: 2608764 Signed-off-by: William André (wan) --- addons/account/views/account_tax_views.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/account/views/account_tax_views.xml b/addons/account/views/account_tax_views.xml index 95753985dbd..eec24274e5f 100644 --- a/addons/account/views/account_tax_views.xml +++ b/addons/account/views/account_tax_views.xml @@ -165,7 +165,8 @@ + attrs="{'invisible': ['|', ('amount_type','=', 'group'), ('price_include', '=', True)]}" + groups="base.group_no_one"/>