Skip to content

Commit

Permalink
[ADD] add new module intrastat_product_hscodes_import
Browse files Browse the repository at this point in the history
  • Loading branch information
jdidderen-noviat committed Nov 7, 2023
1 parent 4466fa9 commit dac8729
Show file tree
Hide file tree
Showing 21 changed files with 39,722 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ repos:
- id: pyupgrade
args: ["--keep-percent-format"]
- repo: https://github.com/PyCQA/isort
rev: 5.9.3
rev: 5.12.0
hooks:
- id: isort
name: isort except __init__.py
Expand Down
99 changes: 99 additions & 0 deletions intrastat_product_hscodes_import/README.rst
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:e943626f3854c98ecba7ee0d48cebf41e762adf5c6ba890fc6d80d3762ac241d
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/15.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-15-0/intrastat-extrastat-15-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=15.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/15.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:%2015.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/15.0/intrastat_product_hscodes_import>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions intrastat_product_hscodes_import/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import wizards
20 changes: 20 additions & 0 deletions intrastat_product_hscodes_import/__manifest__.py
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": "15.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,
}
3 changes: 3 additions & 0 deletions intrastat_product_hscodes_import/readme/CONTRIBUTORS.rst
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
4 changes: 4 additions & 0 deletions intrastat_product_hscodes_import/readme/DESCRIPTION.rst
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.
14 changes: 14 additions & 0 deletions intrastat_product_hscodes_import/readme/USAGE.rst
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 intrastat_product_hscodes_import/security/ir.model.access.csv
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
Loading

0 comments on commit dac8729

Please sign in to comment.