Skip to content

Commit

Permalink
[MIG] intrastat_product_hscodes_import: Migration to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenminhchien committed Apr 3, 2024
1 parent 64575af commit 15ae922
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion intrastat_product_hscodes_import/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,5 @@ def execute(self):
)
% ",".join(self._intrastat_file_available_langs())
)
res = {"type": "ir.actions.client", "tag": "soft_reload"}
return res
Original file line number Diff line number Diff line change
Expand Up @@ -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"
/>
</group>
</xpath>
Expand Down

0 comments on commit 15ae922

Please sign in to comment.