diff --git a/intrastat_product_hscodes_import/__manifest__.py b/intrastat_product_hscodes_import/__manifest__.py index bb74fe61..334b63e4 100644 --- a/intrastat_product_hscodes_import/__manifest__.py +++ b/intrastat_product_hscodes_import/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Intrastat Product - HS Codes Import", - "version": "16.0.1.0.0", + "version": "17.0.1.0.0", "category": "Intrastat", "license": "AGPL-3", "summary": "Module used to import HS Codes for Intrastat Product", diff --git a/intrastat_product_hscodes_import/wizards/intrastat_hscodes_import_installer.py b/intrastat_product_hscodes_import/wizards/intrastat_hscodes_import_installer.py index 8137c65d..90302b3e 100644 --- a/intrastat_product_hscodes_import/wizards/intrastat_hscodes_import_installer.py +++ b/intrastat_product_hscodes_import/wizards/intrastat_hscodes_import_installer.py @@ -95,4 +95,5 @@ def execute(self): ) % ",".join(self._intrastat_file_available_langs()) ) + res = {"type": "ir.actions.client", "tag": "soft_reload"} return res 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 f228b0d0..3b145d65 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,8 @@ name="company_id" options="{'no_create': True, 'no_open': True}" domain="[('id', 'in', allowed_company_ids)]" - attrs="{'required': [('share_codes','=',False)],'invisible': [('share_codes','=',True)]}" + required="not share_codes" + invisible="share_codes" />