From f42110cbcd9edbbf827e5d36d6cd4f693452c747 Mon Sep 17 00:00:00 2001 From: Aaron Bohy Date: Mon, 12 Sep 2022 14:28:54 +0000 Subject: [PATCH] [FIX] account: settings view: set invisible on correct node Before this commit, the title of the container "Fiscal Localization" was always displayed, even though it has an invisible modifier. The reason is that the container was never hidden (it always contained at least an empty div), because the corresponding modifier was set on a child in the container (its unique child). This commit fixes the issue by moving the modifier to the container itself. Note that it also prevents from having an empty div in the DOM. closes odoo/odoo#100031 Signed-off-by: Aaron Bohy (aab) --- addons/account/views/res_config_settings_views.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/account/views/res_config_settings_views.xml b/addons/account/views/res_config_settings_views.xml index 324bce81172..222417e094d 100644 --- a/addons/account/views/res_config_settings_views.xml +++ b/addons/account/views/res_config_settings_views.xml @@ -24,8 +24,8 @@

Fiscal Localization

-
-
+
+
Fiscal Localization