-
-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by luc-demeyer
- Loading branch information
Showing
20 changed files
with
39,890 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
=================================== | ||
Intrastat Product - HS Codes Import | ||
=================================== | ||
|
||
.. | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! source digest: sha256:fcc8acfdb0e3eb387adcaafed61dc883463cac4c0d90cfe029e37c123392b10b | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png | ||
:target: https://odoo-community.org/page/development-status | ||
:alt: Beta | ||
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png | ||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
:alt: License: AGPL-3 | ||
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fintrastat--extrastat-lightgray.png?logo=github | ||
:target: https://github.com/OCA/intrastat-extrastat/tree/16.0/intrastat_product_hscodes_import | ||
:alt: OCA/intrastat-extrastat | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/intrastat-extrastat-16-0/intrastat-extrastat-16-0-intrastat_product_hscodes_import | ||
:alt: Translate me on Weblate | ||
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png | ||
:target: https://runboat.odoo-community.org/builds?repo=OCA/intrastat-extrastat&target_branch=16.0 | ||
:alt: Try me on Runboat | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
This module aims to import all HS codes with the related intrastat code. The datas are | ||
defined in the module itself. | ||
|
||
The module currently hold datas for HS Codes in Dutch, English, French and German. | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Usage | ||
===== | ||
|
||
When you install this module, an installer wizard will appear on the screen and you will | ||
be able to load the datas. | ||
|
||
In this installer wizard, you can decide to import datas for a single company or for all | ||
the companies. | ||
|
||
If you skipped the installer wizard, you can relaunch it and for that, you need to: | ||
|
||
1. Go to Settings > Technical > Actions > Configuration Wizards | ||
2. You need to set the action "Load Intrastat Codes" as Todo | ||
3. You need to launch the action "Load Intrastat Codes" | ||
4. Execute the installer wizard | ||
|
||
.. figure:: https://raw.githubusercontent.com/OCA/intrastat-extrastat/16.0/intrastat_product_hscodes_import/static/description/installer_todo_example.png | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/intrastat-extrastat/issues>`_. | ||
In case of trouble, please check there if your issue has already been reported. | ||
If you spotted it first, help us to smash it by providing a detailed and welcomed | ||
`feedback <https://github.com/OCA/intrastat-extrastat/issues/new?body=module:%20intrastat_product_hscodes_import%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
|
||
Do not contact contributors directly about support or help with technical issues. | ||
|
||
Credits | ||
======= | ||
|
||
Authors | ||
~~~~~~~ | ||
|
||
* Noviat | ||
|
||
Contributors | ||
~~~~~~~~~~~~ | ||
|
||
- Noviat <www.noviat.com> | ||
- Jérémy Didderen | ||
- Luc De Meyer | ||
|
||
Maintainers | ||
~~~~~~~~~~~ | ||
|
||
This module is maintained by the OCA. | ||
|
||
.. image:: https://odoo-community.org/logo.png | ||
:alt: Odoo Community Association | ||
:target: https://odoo-community.org | ||
|
||
OCA, or the Odoo Community Association, is a nonprofit organization whose | ||
mission is to support the collaborative development of Odoo features and | ||
promote its widespread use. | ||
|
||
This module is part of the `OCA/intrastat-extrastat <https://github.com/OCA/intrastat-extrastat/tree/16.0/intrastat_product_hscodes_import>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from . import wizards |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Copyright 2009-2023 Noviat (http://www.noviat.com) | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
{ | ||
"name": "Intrastat Product - HS Codes Import", | ||
"version": "16.0.1.0.0", | ||
"category": "Intrastat", | ||
"license": "AGPL-3", | ||
"summary": "Module used to import HS Codes for Intrastat Product", | ||
"author": "Noviat, Odoo Community Association (OCA)", | ||
"website": "https://github.com/OCA/intrastat-extrastat", | ||
"depends": [ | ||
"intrastat_product", | ||
], | ||
"data": [ | ||
"security/ir.model.access.csv", | ||
"wizards/intrastat_hscodes_import_installer_views.xml", | ||
], | ||
"installable": True, | ||
} |
105 changes: 105 additions & 0 deletions
105
intrastat_product_hscodes_import/i18n/intrastat_product_hscodes_import.pot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * intrastat_product_hscodes_import | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 15.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"Last-Translator: \n" | ||
"Language-Team: \n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Plural-Forms: \n" | ||
|
||
#. module: intrastat_product_hscodes_import | ||
#: model:ir.model.fields.selection,name:intrastat_product_hscodes_import.selection__intrastat_hscodes_import_installer__intrastat_file_year__2022 | ||
msgid "2022" | ||
msgstr "" | ||
|
||
#. module: intrastat_product_hscodes_import | ||
#: model:ir.model.fields,field_description:intrastat_product_hscodes_import.field_intrastat_hscodes_import_installer__company_id | ||
msgid "Company" | ||
msgstr "" | ||
|
||
#. module: intrastat_product_hscodes_import | ||
#: model:ir.model.fields,field_description:intrastat_product_hscodes_import.field_intrastat_hscodes_import_installer__create_uid | ||
msgid "Created by" | ||
msgstr "" | ||
|
||
#. module: intrastat_product_hscodes_import | ||
#: model:ir.model.fields,field_description:intrastat_product_hscodes_import.field_intrastat_hscodes_import_installer__create_date | ||
msgid "Created on" | ||
msgstr "" | ||
|
||
#. module: intrastat_product_hscodes_import | ||
#: model:ir.model.fields,field_description:intrastat_product_hscodes_import.field_intrastat_hscodes_import_installer__display_name | ||
msgid "Display Name" | ||
msgstr "" | ||
|
||
#. module: intrastat_product_hscodes_import | ||
#: model:ir.model.fields,field_description:intrastat_product_hscodes_import.field_intrastat_hscodes_import_installer__id | ||
msgid "ID" | ||
msgstr "" | ||
|
||
#. module: intrastat_product_hscodes_import | ||
#: model:ir.model.fields,field_description:intrastat_product_hscodes_import.field_intrastat_hscodes_import_installer__intrastat_file_delimiter | ||
msgid "Intrastat File Delimiter" | ||
msgstr "" | ||
|
||
#. module: intrastat_product_hscodes_import | ||
#: model:ir.model.fields,field_description:intrastat_product_hscodes_import.field_intrastat_hscodes_import_installer__intrastat_file_year | ||
msgid "Intrastat File Year" | ||
msgstr "" | ||
|
||
#. module: intrastat_product_hscodes_import | ||
#: model:ir.model,name:intrastat_product_hscodes_import.model_intrastat_hscodes_import_installer | ||
msgid "Intrastat HS Codes Import Installer" | ||
msgstr "" | ||
|
||
#. module: intrastat_product_hscodes_import | ||
#: model:ir.model.fields,field_description:intrastat_product_hscodes_import.field_intrastat_hscodes_import_installer____last_update | ||
msgid "Last Modified on" | ||
msgstr "" | ||
|
||
#. module: intrastat_product_hscodes_import | ||
#: model:ir.model.fields,field_description:intrastat_product_hscodes_import.field_intrastat_hscodes_import_installer__write_uid | ||
msgid "Last Updated by" | ||
msgstr "" | ||
|
||
#. module: intrastat_product_hscodes_import | ||
#: model:ir.model.fields,field_description:intrastat_product_hscodes_import.field_intrastat_hscodes_import_installer__write_date | ||
msgid "Last Updated on" | ||
msgstr "" | ||
|
||
#. module: intrastat_product_hscodes_import | ||
#: model_terms:ir.ui.view,arch_db:intrastat_product_hscodes_import.intrastat_hscodes_import_installer_view_form | ||
msgid "Load" | ||
msgstr "" | ||
|
||
#. module: intrastat_product_hscodes_import | ||
#: model:ir.actions.act_window,name:intrastat_product_hscodes_import.intrastat_hscodes_import_installer_action | ||
#: model_terms:ir.ui.view,arch_db:intrastat_product_hscodes_import.intrastat_hscodes_import_installer_view_form | ||
msgid "Load Intrastat Codes" | ||
msgstr "" | ||
|
||
#. module: intrastat_product_hscodes_import | ||
#: code:addons/intrastat_product_hscodes_import/wizards/intrastat_hscodes_import_installer.py:0 | ||
#, python-format | ||
msgid "" | ||
"None of the languages active on your system are available in intrastat codes" | ||
" files [%s]" | ||
msgstr "" | ||
|
||
#. module: intrastat_product_hscodes_import | ||
#: model:ir.model.fields,help:intrastat_product_hscodes_import.field_intrastat_hscodes_import_installer__share_codes | ||
msgid "" | ||
"Set this flag to share the Intrastat Codes between all Legal Entities " | ||
"defined in this Odoo Database.\n" | ||
msgstr "" | ||
|
||
#. module: intrastat_product_hscodes_import | ||
#: model:ir.model.fields,field_description:intrastat_product_hscodes_import.field_intrastat_hscodes_import_installer__share_codes | ||
msgid "Share Codes" | ||
msgstr "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- Noviat <www.noviat.com> | ||
- Jérémy Didderen | ||
- Luc De Meyer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
This module aims to import all HS codes with the related intrastat code. The datas are | ||
defined in the module itself. | ||
|
||
The module currently hold datas for HS Codes in Dutch, English, French and German. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
When you install this module, an installer wizard will appear on the screen and you will | ||
be able to load the datas. | ||
|
||
In this installer wizard, you can decide to import datas for a single company or for all | ||
the companies. | ||
|
||
If you skipped the installer wizard, you can relaunch it and for that, you need to: | ||
|
||
1. Go to Settings > Technical > Actions > Configuration Wizards | ||
2. You need to set the action "Load Intrastat Codes" as Todo | ||
3. You need to launch the action "Load Intrastat Codes" | ||
4. Execute the installer wizard | ||
|
||
.. figure:: static/description/installer_todo_example.png |
3 changes: 3 additions & 0 deletions
3
intrastat_product_hscodes_import/security/ir.model.access.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink | ||
access_intrastat_hscodes_import_installer_admin,access_intrastat_hscodes_import_installer_admin,model_intrastat_hscodes_import_installer,base.group_system,1,1,1,1 | ||
access_intrastat_hscodes_import_installer_account_manager,access_intrastat_hscodes_import_installer_account_manager,model_intrastat_hscodes_import_installer,account.group_account_manager,1,1,1,0 |
Oops, something went wrong.