Skip to content

Commit

Permalink
Merge PR #270 into 17.0
Browse files Browse the repository at this point in the history
Signed-off-by gurneyalex
  • Loading branch information
OCA-git-bot committed Apr 9, 2024
2 parents 09a8b07 + 1e78f27 commit 2631efb
Show file tree
Hide file tree
Showing 16 changed files with 884 additions and 0 deletions.
100 changes: 100 additions & 0 deletions product_harmonized_system_delivery/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
==========================================
Product Harmonized System Codes - Delivery
==========================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:f732fa747f85d891f007e5fb0af1290c25ceeeaca0c6e7cc6a3140c8c3ae9127
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/17.0/product_harmonized_system_delivery
: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-17-0/intrastat-extrastat-17-0-product_harmonized_system_delivery
: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=17.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

The OCA module *product_harmonized_system* adds a many2one field
*hs_code_id* on product templates that points to an *H.S. Code* object.
But the *stock_delivery* module from the official addons adds a char
field *hs_code* on product templates, which has the same purpose, but we
can't use it because we need structured data for H.S. codes. This module
hides the *hs_code* field added by the *stock_delivery* module, to avoid
confusion.

Since Odoo v16, the *stock_delivery* module also adds a many2one field
*country_of_origin*, which is similar to the many2one field
*origin_country_id* of the OCA module *product_harmonized_system*. This
module also hides the *country_of_origin* field added by the
*stock_delivery* module.

**Table of contents**

.. contents::
:local:

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:%20product_harmonized_system_delivery%0Aversion:%2017.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
-------

* Akretion

Contributors
------------

- Alexis de Lattre <alexis.delattre@akretion.com>
- Guewen Baconnier <guewen.baconnier@camptocamp.com>

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.

.. |maintainer-alexis-via| image:: https://github.com/alexis-via.png?size=40px
:target: https://github.com/alexis-via
:alt: alexis-via
.. |maintainer-luc-demeyer| image:: https://github.com/luc-demeyer.png?size=40px
:target: https://github.com/luc-demeyer
:alt: luc-demeyer

Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-alexis-via| |maintainer-luc-demeyer|

This module is part of the `OCA/intrastat-extrastat <https://github.com/OCA/intrastat-extrastat/tree/17.0/product_harmonized_system_delivery>`_ 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 product_harmonized_system_delivery/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
18 changes: 18 additions & 0 deletions product_harmonized_system_delivery/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright 2018-2022 Akretion France (http://www.akretion.com)
# @author Alexis de Lattre <alexis.delattre@akretion.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Product Harmonized System Codes - Delivery",
"version": "17.0.1.0.0",
"category": "Reporting",
"license": "AGPL-3",
"summary": "Hide native hs_code field provided by the delivery module",
"author": "Akretion, Odoo Community Association (OCA)",
"maintainers": ["alexis-via", "luc-demeyer"],
"website": "https://github.com/OCA/intrastat-extrastat",
"depends": ["stock_delivery", "product_harmonized_system"],
"data": ["views/product_template.xml"],
"installable": True,
"auto_install": True,
}
58 changes: 58 additions & 0 deletions product_harmonized_system_delivery/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-04-17 17:33+0000\n"
"PO-Revision-Date: 2023-08-04 13:10+0000\n"
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: product_harmonized_system_delivery
#: model:ir.model.fields,field_description:product_harmonized_system_delivery.field_product_product__hs_code
#: model:ir.model.fields,field_description:product_harmonized_system_delivery.field_product_template__hs_code
msgid "HS Code"
msgstr "Código HS"

#. module: product_harmonized_system_delivery
#: model:ir.model.fields,field_description:product_harmonized_system_delivery.field_product_product__country_of_origin
#: model:ir.model.fields,field_description:product_harmonized_system_delivery.field_product_template__country_of_origin
msgid "Origin of Goods"
msgstr "Origen de las mercancías"

#. module: product_harmonized_system_delivery
#: model:ir.model,name:product_harmonized_system_delivery.model_product_template
msgid "Product"
msgstr "Producto"

#. module: product_harmonized_system_delivery
#: model:ir.model.fields,help:product_harmonized_system_delivery.field_product_product__country_of_origin
#: model:ir.model.fields,help:product_harmonized_system_delivery.field_product_template__country_of_origin
msgid ""
"Rules of origin determine where goods originate, i.e. not where they have "
"been shipped from, but where they have been produced or manufactured.\n"
"As such, the ‘origin’ is the 'economic nationality' of goods traded in "
"commerce."
msgstr ""
"Las normas de origen determinan de dónde proceden los bienes, es decir, no "
"de dónde se han enviado, sino dónde se han producido o fabricado.\n"
"Como tal, el \"origen\" es la \"nacionalidad económica\" de los bienes "
"objeto de comercio."

#. module: product_harmonized_system_delivery
#: model:ir.model.fields,help:product_harmonized_system_delivery.field_product_product__hs_code
#: model:ir.model.fields,help:product_harmonized_system_delivery.field_product_template__hs_code
msgid ""
"Standardized code for international shipping and goods declaration. At the "
"moment, only used for the FedEx shipping provider."
msgstr ""
"Código estandarizado para envío internacional y declaración de mercancías. "
"De momento , sólo se usa para el proveedor FedEx."

#~ msgid "Product Template"
#~ msgstr "Plantilla de Producto"
60 changes: 60 additions & 0 deletions product_harmonized_system_delivery/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_harmonized_system_delivery
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-06-07 19:08+0000\n"
"Last-Translator: Alexis de Lattre <alexis@via.ecp.fr>\n"
"Language-Team: none\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: product_harmonized_system_delivery
#: model:ir.model.fields,field_description:product_harmonized_system_delivery.field_product_product__hs_code
#: model:ir.model.fields,field_description:product_harmonized_system_delivery.field_product_template__hs_code
msgid "HS Code"
msgstr "Code SH"

#. module: product_harmonized_system_delivery
#: model:ir.model.fields,field_description:product_harmonized_system_delivery.field_product_product__country_of_origin
#: model:ir.model.fields,field_description:product_harmonized_system_delivery.field_product_template__country_of_origin
msgid "Origin of Goods"
msgstr "Origine des marchandises"

#. module: product_harmonized_system_delivery
#: model:ir.model,name:product_harmonized_system_delivery.model_product_template
msgid "Product"
msgstr "Article"

#. module: product_harmonized_system_delivery
#: model:ir.model.fields,help:product_harmonized_system_delivery.field_product_product__country_of_origin
#: model:ir.model.fields,help:product_harmonized_system_delivery.field_product_template__country_of_origin
msgid ""
"Rules of origin determine where goods originate, i.e. not where they have "
"been shipped from, but where they have been produced or manufactured.\n"
"As such, the ‘origin’ is the 'economic nationality' of goods traded in "
"commerce."
msgstr ""
"Les règles d'origine déterminent l'origine des marchandises, c'est-à-dire "
"non pas l'endroit d'où elles ont été expédiées, mais l'endroit où elles ont "
"été produites ou fabriquées.\n"
"En tant que telle, l'\"origine\" est la \"nationalité économique\" des "
"marchandises échangées dans le commerce."

#. module: product_harmonized_system_delivery
#: model:ir.model.fields,help:product_harmonized_system_delivery.field_product_product__hs_code
#: model:ir.model.fields,help:product_harmonized_system_delivery.field_product_template__hs_code
msgid ""
"Standardized code for international shipping and goods declaration. At the "
"moment, only used for the FedEx shipping provider."
msgstr ""
"Code standardisé pour les expéditions internationales et les déclarations de "
"marchandises. Pour l'instant, il n'est utilisé que par le prestataire de "
"services d'expédition FedEx."
58 changes: 58 additions & 0 deletions product_harmonized_system_delivery/i18n/hr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_harmonized_system_delivery
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-02-15 19:22+0000\n"
"Last-Translator: Bole <bole@dajmi5.com>\n"
"Language-Team: none\n"
"Language: hr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 4.14.1\n"

#. module: product_harmonized_system_delivery
#: model:ir.model.fields,field_description:product_harmonized_system_delivery.field_product_product__hs_code
#: model:ir.model.fields,field_description:product_harmonized_system_delivery.field_product_template__hs_code
msgid "HS Code"
msgstr "HS Šifra"

#. module: product_harmonized_system_delivery
#: model:ir.model.fields,field_description:product_harmonized_system_delivery.field_product_product__country_of_origin
#: model:ir.model.fields,field_description:product_harmonized_system_delivery.field_product_template__country_of_origin
msgid "Origin of Goods"
msgstr "Porijeklo robe"

#. module: product_harmonized_system_delivery
#: model:ir.model,name:product_harmonized_system_delivery.model_product_template
msgid "Product"
msgstr "Proizvod"

#. module: product_harmonized_system_delivery
#: model:ir.model.fields,help:product_harmonized_system_delivery.field_product_product__country_of_origin
#: model:ir.model.fields,help:product_harmonized_system_delivery.field_product_template__country_of_origin
msgid ""
"Rules of origin determine where goods originate, i.e. not where they have "
"been shipped from, but where they have been produced or manufactured.\n"
"As such, the ‘origin’ is the 'economic nationality' of goods traded in "
"commerce."
msgstr ""
"Pravila porijekla određuju porijeklo robe. npr, ne od kuda je roba "
"dopremljena, nego gdje je roba proizvedena. \n"
"Ako takvo, 'Porijeklo' je 'Ekonomska nacionalnost' trgovačke robe."

#. module: product_harmonized_system_delivery
#: model:ir.model.fields,help:product_harmonized_system_delivery.field_product_product__hs_code
#: model:ir.model.fields,help:product_harmonized_system_delivery.field_product_template__hs_code
msgid ""
"Standardized code for international shipping and goods declaration. At the "
"moment, only used for the FedEx shipping provider."
msgstr ""
"Standardizirana šifra za međunarodni transport i deklaraciju robe. Trenutno "
"korišteno samo kod FedEX transporta."
56 changes: 56 additions & 0 deletions product_harmonized_system_delivery/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_harmonized_system_delivery
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-01-26 11:35+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: product_harmonized_system_delivery
#: model:ir.model.fields,field_description:product_harmonized_system_delivery.field_product_product__hs_code
#: model:ir.model.fields,field_description:product_harmonized_system_delivery.field_product_template__hs_code
msgid "HS Code"
msgstr "Codice HS"

#. module: product_harmonized_system_delivery
#: model:ir.model.fields,field_description:product_harmonized_system_delivery.field_product_product__country_of_origin
#: model:ir.model.fields,field_description:product_harmonized_system_delivery.field_product_template__country_of_origin
msgid "Origin of Goods"
msgstr "Origine della merce"

#. module: product_harmonized_system_delivery
#: model:ir.model,name:product_harmonized_system_delivery.model_product_template
msgid "Product"
msgstr "Prodotto"

#. module: product_harmonized_system_delivery
#: model:ir.model.fields,help:product_harmonized_system_delivery.field_product_product__country_of_origin
#: model:ir.model.fields,help:product_harmonized_system_delivery.field_product_template__country_of_origin
msgid ""
"Rules of origin determine where goods originate, i.e. not where they have been shipped from, but where they have been produced or manufactured.\n"
"As such, the ‘origin’ is the 'economic nationality' of goods traded in commerce."
msgstr ""
"Le regole dell'origine definiscono da dove si origina la merce, i.e. non da "
"dove è stata spedita ma dove è stata prodotta o lavorata.\n"
"In quanto tale, l’“origine” è la “nazionalità economica” dei beni scambiati "
"nel commercio."

#. module: product_harmonized_system_delivery
#: model:ir.model.fields,help:product_harmonized_system_delivery.field_product_product__hs_code
#: model:ir.model.fields,help:product_harmonized_system_delivery.field_product_template__hs_code
msgid ""
"Standardized code for international shipping and goods declaration. At the "
"moment, only used for the FedEx shipping provider."
msgstr ""
"Codice standardizzato per la spedizione internazionale e la dichiarazione di "
"beni. Al momento, utilizzato solamente per il corriere FedEx."
Loading

0 comments on commit 2631efb

Please sign in to comment.