From e3d7e6183b71c814a3f2fbd97afe5a252ae20042 Mon Sep 17 00:00:00 2001 From: Luc De Meyer Date: Fri, 10 Nov 2023 18:23:08 +0100 Subject: [PATCH] [IMP] hscodes import: company always visible in install wizard Module intrastat_product_hscodes_import, install wizard: The Company is a required field unchecking the 'Share Codes' flag. User having access to the Configuration Wizards will now be able to set the company field even if they do not belong to the multi-company usability group. --- .../wizards/intrastat_hscodes_import_installer_views.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/intrastat_product_hscodes_import/wizards/intrastat_hscodes_import_installer_views.xml b/intrastat_product_hscodes_import/wizards/intrastat_hscodes_import_installer_views.xml index 9509bfd..f228b0d 100644 --- a/intrastat_product_hscodes_import/wizards/intrastat_hscodes_import_installer_views.xml +++ b/intrastat_product_hscodes_import/wizards/intrastat_hscodes_import_installer_views.xml @@ -16,7 +16,6 @@ name="company_id" options="{'no_create': True, 'no_open': True}" domain="[('id', 'in', allowed_company_ids)]" - groups="base.group_multi_company" attrs="{'required': [('share_codes','=',False)],'invisible': [('share_codes','=',True)]}" />