From 3317d651d834b87e202d4b3b033e507434072b8a Mon Sep 17 00:00:00 2001 From: 26houseRobot <56382927+26houseRobot@users.noreply.github.com> Date: Thu, 21 Mar 2024 15:51:09 +0100 Subject: [PATCH] [FIX] l10n_sk: fix visibility for company_registry field when l10n_cz and l10n_sk are installed In a multicompany setup when l10n_cz is installed after l10n_sk then the Company ID field disappears from Contacts form view if current company is not a CZ company (fiscal_country_codes != CZ). On the other hand if the current company is a CZ company then the field is doubled in the form view. This change prevents the field from disappearing by reverting the visibility condition change introduced by each of the l10n_sk and l10n_cz module because they are clashing. Part-of: odoo/odoo#158605 --- addons/l10n_cz/views/res_partner_views.xml | 3 --- addons/l10n_sk/views/res_partner_views.xml | 3 --- 2 files changed, 6 deletions(-) diff --git a/addons/l10n_cz/views/res_partner_views.xml b/addons/l10n_cz/views/res_partner_views.xml index 9dad5259515..78b2f3e0c54 100644 --- a/addons/l10n_cz/views/res_partner_views.xml +++ b/addons/l10n_cz/views/res_partner_views.xml @@ -5,9 +5,6 @@ res.partner - - - diff --git a/addons/l10n_sk/views/res_partner_views.xml b/addons/l10n_sk/views/res_partner_views.xml index bf2f0d877dc..27b15d5f096 100644 --- a/addons/l10n_sk/views/res_partner_views.xml +++ b/addons/l10n_sk/views/res_partner_views.xml @@ -5,9 +5,6 @@ res.partner - - -