diff --git a/checklog-odoo.cfg b/checklog-odoo.cfg new file mode 100644 index 00000000..f5d40b02 --- /dev/null +++ b/checklog-odoo.cfg @@ -0,0 +1,3 @@ +[checklog-odoo] +ignore= + WARNING.*0 failed, 0 error\(s\).* diff --git a/l10n_eu_product_adr_dangerous_goods/README.rst b/l10n_eu_product_adr_dangerous_goods/README.rst new file mode 100644 index 00000000..eaa799b3 --- /dev/null +++ b/l10n_eu_product_adr_dangerous_goods/README.rst @@ -0,0 +1,97 @@ +=================================== +l10n Eu Product Adr Dangerous Goods +=================================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:7d72c5b0c457dd4ba50c76d9713571cbb0ac09a6c7cb5a0e2eee0783c101b6c0 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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%2Fcommunity--data--files-lightgray.png?logo=github + :target: https://github.com/OCA/community-data-files/tree/18.0/l10n_eu_product_adr_dangerous_goods + :alt: OCA/community-data-files +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/community-data-files-18-0/community-data-files-18-0-l10n_eu_product_adr_dangerous_goods + :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/community-data-files&target_branch=18.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +Adds a few utility models and records to the l10n_eu_product_adr module. + +**Table of contents** + +.. contents:: + :local: + +Known issues / Roadmap +====================== + +- rename models, prefix them with adr. as it is done in + l10n_eu_product_adr + +Bug Tracker +=========== + +Bugs are tracked on `GitHub 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 `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +------- + +* Camptocamp + +Contributors +------------ + +- Matthieu Méquignon +- Do Anh Duy + +Other credits +------------- + +The migration of this module from 14.0 to 18.0 was financially supported +by Camptocamp. + +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-mmequignon| image:: https://github.com/mmequignon.png?size=40px + :target: https://github.com/mmequignon + :alt: mmequignon + +Current `maintainer `__: + +|maintainer-mmequignon| + +This module is part of the `OCA/community-data-files `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/l10n_eu_product_adr_dangerous_goods/__init__.py b/l10n_eu_product_adr_dangerous_goods/__init__.py new file mode 100644 index 00000000..0650744f --- /dev/null +++ b/l10n_eu_product_adr_dangerous_goods/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/l10n_eu_product_adr_dangerous_goods/__manifest__.py b/l10n_eu_product_adr_dangerous_goods/__manifest__.py new file mode 100644 index 00000000..e721c602 --- /dev/null +++ b/l10n_eu_product_adr_dangerous_goods/__manifest__.py @@ -0,0 +1,22 @@ +# Copyright 2021 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) +{ + "name": "l10n Eu Product Adr Dangerous Goods", + "version": "18.0.1.0.0", + "category": "Inventory/Delivery", + "website": "https://github.com/OCA/community-data-files", + "author": "Camptocamp, Odoo Community Association (OCA)", + "maintainers": ["mmequignon"], + "license": "AGPL-3", + "installable": True, + "auto_install": False, + "depends": ["l10n_eu_product_adr"], + "data": [ + # data + "data/utility_models.xml", + # security + "security/ir.model.access.csv", + # views + "views/product_product.xml", + ], +} diff --git a/l10n_eu_product_adr_dangerous_goods/data/utility_models.xml b/l10n_eu_product_adr_dangerous_goods/data/utility_models.xml new file mode 100644 index 00000000..1d631ad0 --- /dev/null +++ b/l10n_eu_product_adr_dangerous_goods/data/utility_models.xml @@ -0,0 +1,112 @@ + + + + + + + LK 2 + + + LK 3 + + + LK 4.1 + + + LK 4.2 + + + LK 4.3 + + + LK 5 + + + LK 6.1 + + + LK 8 + + + LK 10,12 + + + LK 11,13 + + + + + Bottle + + + Canister + + + Cartridge + + + Box + + + Bag + + + Spray + + + Can + + + Tube + + + + + to 25°C + + + over 25°C + + + to 30°C + + + + + + WGK 1 + + + WGK 2 + + + WGK 3 + + + WGK A + + + WGK B + + + + + LQ (Limited Quantity) + + + DG (Dangerous Goods) + + + + + l (Liter) + + + kg (Kilogramm) + + + g (Gramm) + + + diff --git a/l10n_eu_product_adr_dangerous_goods/i18n/es.po b/l10n_eu_product_adr_dangerous_goods/i18n/es.po new file mode 100644 index 00000000..67edb173 --- /dev/null +++ b/l10n_eu_product_adr_dangerous_goods/i18n/es.po @@ -0,0 +1,338 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * l10n_eu_product_adr_dangerous_goods +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 18.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-01-26 14:36+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: none\n" +"Language: es\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: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_first__2 +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_second__2 +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_third__2 +msgid "2.1" +msgstr "2.1" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_first__3 +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_second__3 +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_third__3 +msgid "2.2" +msgstr "2.2" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_first__5 +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_second__5 +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_third__5 +msgid "4.1" +msgstr "4.1" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_first__6 +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_second__6 +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_third__6 +msgid "4.2" +msgstr "4.2" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_first__7 +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_second__7 +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_third__7 +msgid "4.3" +msgstr "4.3" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_first__8 +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_second__8 +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_third__8 +msgid "5.1" +msgstr "5.1" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_first__9 +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_second__9 +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_third__9 +msgid "5.2" +msgstr "5.2" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_first__12 +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_second__12 +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_third__12 +msgid "9A" +msgstr "9A" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__content_package +msgid "Content Packaging" +msgstr "Contenido Embalaje" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_dangerous_uom__create_uid +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_limited_amount__create_uid +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_packaging_type__create_uid +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_storage_class__create_uid +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_storage_temp__create_uid +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_wgk_class__create_uid +msgid "Created by" +msgstr "Creado por" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_dangerous_uom__create_date +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_limited_amount__create_date +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_packaging_type__create_date +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_storage_class__create_date +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_storage_temp__create_date +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_wgk_class__create_date +msgid "Created on" +msgstr "Creado el" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model_terms:ir.ui.view,arch_db:l10n_eu_product_adr_dangerous_goods.product_normal_form_view +msgid "Dangerous Packaging" +msgstr "Envases Peligrosos" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model,name:l10n_eu_product_adr_dangerous_goods.model_dangerous_uom +msgid "Dangerous UOM" +msgstr "UM Peligrosa" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__dg_unit +msgid "Dg Unit" +msgstr "Unidad Dg" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_dangerous_uom__display_name +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_limited_amount__display_name +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_packaging_type__display_name +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__display_name +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_storage_class__display_name +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_storage_temp__display_name +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_wgk_class__display_name +msgid "Display Name" +msgstr "Mostrar Nombre" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__envir_hazardous +msgid "Environmentally hazardous" +msgstr "Peligrosos para el medio ambiente" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__flash_point +msgid "Flash point(°C)" +msgstr "Punto de inflamación(°C)" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__h_no +msgid "H-No" +msgstr "H-No" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__hazard_ind +msgid "Hazard identification" +msgstr "Identificación de riesgos" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_dangerous_uom__id +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_limited_amount__id +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_packaging_type__id +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__id +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_storage_class__id +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_storage_temp__id +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_wgk_class__id +msgid "ID" +msgstr "ID(identificación)" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__packaging_group__3 +msgid "II" +msgstr "II" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__packaging_group__4 +msgid "III" +msgstr "III" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__label_first +msgid "Label 1" +msgstr "Etiqueta 1" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__label_second +msgid "Label 2" +msgstr "Etiqueta 2" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__label_third +msgid "Label 3" +msgstr "Etiqueta 2" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_dangerous_uom____last_update +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_limited_amount____last_update +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_packaging_type____last_update +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product____last_update +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_storage_class____last_update +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_storage_temp____last_update +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_wgk_class____last_update +msgid "Last Modified on" +msgstr "Última modificación el" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_dangerous_uom__write_uid +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_limited_amount__write_uid +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_packaging_type__write_uid +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_storage_class__write_uid +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_storage_temp__write_uid +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_wgk_class__write_uid +msgid "Last Updated by" +msgstr "Última actualización por" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_dangerous_uom__write_date +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_limited_amount__write_date +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_packaging_type__write_date +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_storage_class__write_date +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_storage_temp__write_date +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_wgk_class__write_date +msgid "Last Updated on" +msgstr "Última actualización el" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model,name:l10n_eu_product_adr_dangerous_goods.model_limited_amount +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__limited_amount_id +msgid "Limited Amount" +msgstr "Importe Limitado" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__nag +msgid "N.A.G." +msgstr "N.A.G." + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_dangerous_uom__name +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_limited_amount__name +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_packaging_type__name +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_storage_class__name +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_storage_temp__name +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_wgk_class__name +msgid "Name" +msgstr "Nombre" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__envir_hazardous__no +msgid "No" +msgstr "No" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model,name:l10n_eu_product_adr_dangerous_goods.model_packaging_type +msgid "Packaging" +msgstr "Embalaje" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__packaging_group +msgid "Packaging Group" +msgstr "Grupo Embalaje" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__packaging_type_id +msgid "Packaging Type" +msgstr "Tipo de Embalaje" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model,name:l10n_eu_product_adr_dangerous_goods.model_product_product +msgid "Product" +msgstr "Producto" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model_terms:ir.ui.view,arch_db:l10n_eu_product_adr_dangerous_goods.product_normal_form_view +msgid "Storage" +msgstr "Almacenamiento" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__storage_class_id +msgid "Storage Class" +msgstr "Clase de Almacenamiento" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model,name:l10n_eu_product_adr_dangerous_goods.model_storage_temp +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__storage_temp_id +msgid "Storage Temp" +msgstr "Temperatura de Almacenamiento" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model,name:l10n_eu_product_adr_dangerous_goods.model_storage_class +msgid "Storage class" +msgstr "Clase de almacenamiento" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__voc +msgid "VOC in%" +msgstr "VOC en %" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__veva_code_empty +msgid "VeVA Code: Empty packaging" +msgstr "Código VeVA: Envase vacío" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__veva_code_full +msgid "VeVA Code: Full package" +msgstr "Código VeVA: Paquete completo" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model,name:l10n_eu_product_adr_dangerous_goods.model_wgk_class +msgid "WGK class" +msgstr "Clase WGK" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__wgk_class_id +msgid "Wgk Class" +msgstr "Clase WGK" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__envir_hazardous__yes +msgid "Yes" +msgstr "Sí" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:dangerous.uom,name:l10n_eu_product_adr_dangerous_goods.dangerous_uom_3 +msgid "g (Gramm)" +msgstr "g (Gramo)" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:dangerous.uom,name:l10n_eu_product_adr_dangerous_goods.dangerous_uom_2 +msgid "kg (Kilogramm)" +msgstr "kg (Kilogramo)" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:dangerous.uom,name:l10n_eu_product_adr_dangerous_goods.dangerous_uom_1 +msgid "l (Liter)" +msgstr "l (Litro)" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:storage.temp,name:l10n_eu_product_adr_dangerous_goods.storage_temp_2 +msgid "over 25°C" +msgstr "más de 25°C" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:storage.temp,name:l10n_eu_product_adr_dangerous_goods.storage_temp_1 +msgid "to 25°C" +msgstr "a 25°C" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:storage.temp,name:l10n_eu_product_adr_dangerous_goods.storage_temp_3 +msgid "to 30°C" +msgstr "a 30°C" diff --git a/l10n_eu_product_adr_dangerous_goods/i18n/l10n_eu_product_adr_dangerous_goods.pot b/l10n_eu_product_adr_dangerous_goods/i18n/l10n_eu_product_adr_dangerous_goods.pot new file mode 100644 index 00000000..bbb5815c --- /dev/null +++ b/l10n_eu_product_adr_dangerous_goods/i18n/l10n_eu_product_adr_dangerous_goods.pot @@ -0,0 +1,335 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * l10n_eu_product_adr_dangerous_goods +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 18.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: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_first__2 +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_second__2 +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_third__2 +msgid "2.1" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_first__3 +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_second__3 +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_third__3 +msgid "2.2" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_first__5 +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_second__5 +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_third__5 +msgid "4.1" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_first__6 +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_second__6 +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_third__6 +msgid "4.2" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_first__7 +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_second__7 +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_third__7 +msgid "4.3" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_first__8 +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_second__8 +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_third__8 +msgid "5.1" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_first__9 +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_second__9 +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_third__9 +msgid "5.2" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_first__12 +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_second__12 +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__label_third__12 +msgid "9A" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__content_package +msgid "Content Packaging" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_dangerous_uom__create_uid +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_limited_amount__create_uid +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_packaging_type__create_uid +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_storage_class__create_uid +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_storage_temp__create_uid +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_wgk_class__create_uid +msgid "Created by" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_dangerous_uom__create_date +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_limited_amount__create_date +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_packaging_type__create_date +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_storage_class__create_date +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_storage_temp__create_date +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_wgk_class__create_date +msgid "Created on" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model_terms:ir.ui.view,arch_db:l10n_eu_product_adr_dangerous_goods.product_normal_form_view +msgid "Dangerous Packaging" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model,name:l10n_eu_product_adr_dangerous_goods.model_dangerous_uom +msgid "Dangerous UOM" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__dg_unit +msgid "Dg Unit" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_dangerous_uom__display_name +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_limited_amount__display_name +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_packaging_type__display_name +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__display_name +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_storage_class__display_name +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_storage_temp__display_name +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_wgk_class__display_name +msgid "Display Name" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__envir_hazardous +msgid "Environmentally hazardous" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__flash_point +msgid "Flash point(°C)" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__h_no +msgid "H-No" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__hazard_ind +msgid "Hazard identification" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_dangerous_uom__id +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_limited_amount__id +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_packaging_type__id +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__id +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_storage_class__id +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_storage_temp__id +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_wgk_class__id +msgid "ID" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__packaging_group__3 +msgid "II" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__packaging_group__4 +msgid "III" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__label_first +msgid "Label 1" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__label_second +msgid "Label 2" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__label_third +msgid "Label 3" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_dangerous_uom____last_update +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_limited_amount____last_update +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_packaging_type____last_update +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product____last_update +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_storage_class____last_update +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_storage_temp____last_update +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_wgk_class____last_update +msgid "Last Modified on" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_dangerous_uom__write_uid +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_limited_amount__write_uid +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_packaging_type__write_uid +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_storage_class__write_uid +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_storage_temp__write_uid +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_wgk_class__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_dangerous_uom__write_date +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_limited_amount__write_date +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_packaging_type__write_date +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_storage_class__write_date +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_storage_temp__write_date +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_wgk_class__write_date +msgid "Last Updated on" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model,name:l10n_eu_product_adr_dangerous_goods.model_limited_amount +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__limited_amount_id +msgid "Limited Amount" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__nag +msgid "N.A.G." +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_dangerous_uom__name +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_limited_amount__name +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_packaging_type__name +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_storage_class__name +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_storage_temp__name +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_wgk_class__name +msgid "Name" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__envir_hazardous__no +msgid "No" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model,name:l10n_eu_product_adr_dangerous_goods.model_packaging_type +msgid "Packaging" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__packaging_group +msgid "Packaging Group" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__packaging_type_id +msgid "Packaging Type" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model,name:l10n_eu_product_adr_dangerous_goods.model_product_product +msgid "Product" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model_terms:ir.ui.view,arch_db:l10n_eu_product_adr_dangerous_goods.product_normal_form_view +msgid "Storage" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__storage_class_id +msgid "Storage Class" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model,name:l10n_eu_product_adr_dangerous_goods.model_storage_temp +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__storage_temp_id +msgid "Storage Temp" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model,name:l10n_eu_product_adr_dangerous_goods.model_storage_class +msgid "Storage class" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__voc +msgid "VOC in%" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__veva_code_empty +msgid "VeVA Code: Empty packaging" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__veva_code_full +msgid "VeVA Code: Full package" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model,name:l10n_eu_product_adr_dangerous_goods.model_wgk_class +msgid "WGK class" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields,field_description:l10n_eu_product_adr_dangerous_goods.field_product_product__wgk_class_id +msgid "Wgk Class" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:ir.model.fields.selection,name:l10n_eu_product_adr_dangerous_goods.selection__product_product__envir_hazardous__yes +msgid "Yes" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:dangerous.uom,name:l10n_eu_product_adr_dangerous_goods.dangerous_uom_3 +msgid "g (Gramm)" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:dangerous.uom,name:l10n_eu_product_adr_dangerous_goods.dangerous_uom_2 +msgid "kg (Kilogramm)" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:dangerous.uom,name:l10n_eu_product_adr_dangerous_goods.dangerous_uom_1 +msgid "l (Liter)" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:storage.temp,name:l10n_eu_product_adr_dangerous_goods.storage_temp_2 +msgid "over 25°C" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:storage.temp,name:l10n_eu_product_adr_dangerous_goods.storage_temp_1 +msgid "to 25°C" +msgstr "" + +#. module: l10n_eu_product_adr_dangerous_goods +#: model:storage.temp,name:l10n_eu_product_adr_dangerous_goods.storage_temp_3 +msgid "to 30°C" +msgstr "" diff --git a/l10n_eu_product_adr_dangerous_goods/models/__init__.py b/l10n_eu_product_adr_dangerous_goods/models/__init__.py new file mode 100644 index 00000000..fa1668d5 --- /dev/null +++ b/l10n_eu_product_adr_dangerous_goods/models/__init__.py @@ -0,0 +1,2 @@ +from . import product_product +from . import utility_models diff --git a/l10n_eu_product_adr_dangerous_goods/models/product_product.py b/l10n_eu_product_adr_dangerous_goods/models/product_product.py new file mode 100644 index 00000000..9102988b --- /dev/null +++ b/l10n_eu_product_adr_dangerous_goods/models/product_product.py @@ -0,0 +1,54 @@ +# Copyright 2021 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + +from odoo import fields, models + +LABELS_SELECTION = [ + ("1", "2"), + ("2", "2.1"), + ("3", "2.2"), + ("4", "3"), + ("5", "4.1"), + ("6", "4.2"), + ("7", "4.3"), + ("8", "5.1"), + ("9", "5.2"), + ("10", "8"), + ("11", "9"), + ("12", "9A"), +] + + +class ProductProduct(models.Model): + _inherit = "product.product" + + # To be set manually for the moment. Could eventually be computed after, + # depending on the dangerous class and the product's weight/captain'sage… + limited_amount_id = fields.Many2one("limited.amount") + + # package-related fields + content_package = fields.Float(string="Content Packaging", digits=(16, 5)) + dg_unit = fields.Many2one("dangerous.uom") + nag = fields.Char(string="N.A.G.") + veva_code_empty = fields.Char(string="VeVA Code: Empty packaging") + veva_code_full = fields.Char(string="VeVA Code: Full package") + + # storage-related fields + storage_class_id = fields.Many2one("storage.class") + packaging_type_id = fields.Many2one("packaging.type") + storage_temp_id = fields.Many2one("storage.temp") + flash_point = fields.Char(string="Flash point(°C)") + wgk_class_id = fields.Many2one("wgk.class") + h_no = fields.Char(string="H-No") # Ho, NoooOOooooO! + + envir_hazardous = fields.Selection( + [("yes", "Yes"), ("no", "No")], string="Environmentally hazardous" + ) + packaging_group = fields.Selection( + [("1", "(-)"), ("2", "I"), ("3", "II"), ("4", "III")] + ) + hazard_ind = fields.Char(string="Hazard identification") + voc = fields.Char(string="VOC in%") + label_first = fields.Selection(LABELS_SELECTION, string="Label 1") + label_second = fields.Selection(LABELS_SELECTION, string="Label 2") + label_third = fields.Selection(LABELS_SELECTION, string="Label 3") diff --git a/l10n_eu_product_adr_dangerous_goods/models/utility_models.py b/l10n_eu_product_adr_dangerous_goods/models/utility_models.py new file mode 100644 index 00000000..1d94e5e5 --- /dev/null +++ b/l10n_eu_product_adr_dangerous_goods/models/utility_models.py @@ -0,0 +1,46 @@ +# Copyright 2021 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + +from odoo import fields, models + + +class StorageClass(models.Model): + _name = "storage.class" + _description = "Storage class" + + name = fields.Char(string="Name", required=True) + + +class PackagingType(models.Model): + _name = "packaging.type" + _description = "Packaging" + + name = fields.Char(string="Name", required=True) + + +class StorageTemp(models.Model): + _name = "storage.temp" + _description = "Storage Temp" + + name = fields.Char(string="Name", required=True, translate=True) + + +class WGKClass(models.Model): + _name = "wgk.class" + _description = "WGK class" + + name = fields.Char(string="Name", required=True) + + +class LimitedAmount(models.Model): + _name = "limited.amount" + _description = "Limited Amount" + + name = fields.Char(string="Name", required=True) + + +class DangerousUOM(models.Model): + _name = "dangerous.uom" + _description = "Dangerous UOM" + + name = fields.Char(string="Name", required=True, translate=True) diff --git a/l10n_eu_product_adr_dangerous_goods/pyproject.toml b/l10n_eu_product_adr_dangerous_goods/pyproject.toml new file mode 100644 index 00000000..4231d0cc --- /dev/null +++ b/l10n_eu_product_adr_dangerous_goods/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/l10n_eu_product_adr_dangerous_goods/readme/CONTRIBUTORS.md b/l10n_eu_product_adr_dangerous_goods/readme/CONTRIBUTORS.md new file mode 100644 index 00000000..bc6c38a1 --- /dev/null +++ b/l10n_eu_product_adr_dangerous_goods/readme/CONTRIBUTORS.md @@ -0,0 +1,2 @@ +- Matthieu Méquignon \<\> +- Do Anh Duy \<\> diff --git a/l10n_eu_product_adr_dangerous_goods/readme/CREDITS.md b/l10n_eu_product_adr_dangerous_goods/readme/CREDITS.md new file mode 100644 index 00000000..573d68b7 --- /dev/null +++ b/l10n_eu_product_adr_dangerous_goods/readme/CREDITS.md @@ -0,0 +1 @@ +The migration of this module from 14.0 to 18.0 was financially supported by Camptocamp. diff --git a/l10n_eu_product_adr_dangerous_goods/readme/DESCRIPTION.md b/l10n_eu_product_adr_dangerous_goods/readme/DESCRIPTION.md new file mode 100644 index 00000000..a017b3a0 --- /dev/null +++ b/l10n_eu_product_adr_dangerous_goods/readme/DESCRIPTION.md @@ -0,0 +1 @@ +Adds a few utility models and records to the l10n_eu_product_adr module. diff --git a/l10n_eu_product_adr_dangerous_goods/readme/ROADMAP.md b/l10n_eu_product_adr_dangerous_goods/readme/ROADMAP.md new file mode 100644 index 00000000..dabb909b --- /dev/null +++ b/l10n_eu_product_adr_dangerous_goods/readme/ROADMAP.md @@ -0,0 +1,2 @@ +- rename models, prefix them with adr. as it is done in + l10n_eu_product_adr diff --git a/l10n_eu_product_adr_dangerous_goods/security/ir.model.access.csv b/l10n_eu_product_adr_dangerous_goods/security/ir.model.access.csv new file mode 100644 index 00000000..26932342 --- /dev/null +++ b/l10n_eu_product_adr_dangerous_goods/security/ir.model.access.csv @@ -0,0 +1,13 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_storage_class_user,access_storage_class,model_storage_class,base.group_user,1,0,0,0 +access_storage_class_manager,access_storage_class,model_storage_class,base.group_erp_manager,1,1,1,1 +access_packaging_type_user,access_packaging_type,model_packaging_type,base.group_user,1,0,0,0 +access_packaging_type_manager,access_packaging_type,model_packaging_type,base.group_erp_manager,1,1,1,1 +access_storage_temp_user,access_storage_temp,model_storage_temp,base.group_user,1,0,0,0 +access_storage_temp_manager,access_storage_temp,model_storage_temp,base.group_erp_manager,1,1,1,1 +access_wgk_class_user,access_wgk_class,model_wgk_class,base.group_user,1,0,0,0 +access_wgk_class_manager,access_wgk_class,model_wgk_class,base.group_erp_manager,1,1,1,1 +access_limited_amount_user,access_limited_amount,model_limited_amount,base.group_user,1,0,0,0 +access_limited_amount_manager,access_limited_amount,model_limited_amount,base.group_erp_manager,1,1,1,1 +access_dang_uom_user,access_dang_uom_class,model_dangerous_uom,base.group_user,1,0,0,0 +access_dang_uom_manager,access_dang_uom_class_manager,model_dangerous_uom,base.group_erp_manager,1,1,1,1 diff --git a/l10n_eu_product_adr_dangerous_goods/static/description/icon.png b/l10n_eu_product_adr_dangerous_goods/static/description/icon.png new file mode 100644 index 00000000..3a0328b5 Binary files /dev/null and b/l10n_eu_product_adr_dangerous_goods/static/description/icon.png differ diff --git a/l10n_eu_product_adr_dangerous_goods/static/description/index.html b/l10n_eu_product_adr_dangerous_goods/static/description/index.html new file mode 100644 index 00000000..5b179a66 --- /dev/null +++ b/l10n_eu_product_adr_dangerous_goods/static/description/index.html @@ -0,0 +1,440 @@ + + + + + +l10n Eu Product Adr Dangerous Goods + + + +
+

l10n Eu Product Adr Dangerous Goods

+ + +

Beta License: AGPL-3 OCA/community-data-files Translate me on Weblate Try me on Runboat

+

Adds a few utility models and records to the l10n_eu_product_adr module.

+

Table of contents

+ +
+

Known issues / Roadmap

+
    +
  • rename models, prefix them with adr. as it is done in +l10n_eu_product_adr
  • +
+
+
+

Bug Tracker

+

Bugs are tracked on GitHub 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.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Camptocamp
  • +
+
+
+

Contributors

+ +
+
+

Other credits

+

The migration of this module from 14.0 to 18.0 was financially supported +by Camptocamp.

+
+
+

Maintainers

+

This module is maintained by the OCA.

+ +Odoo Community Association + +

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.

+

Current maintainer:

+

mmequignon

+

This module is part of the OCA/community-data-files project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/l10n_eu_product_adr_dangerous_goods/views/product_product.xml b/l10n_eu_product_adr_dangerous_goods/views/product_product.xml new file mode 100644 index 00000000..30c9d1f8 --- /dev/null +++ b/l10n_eu_product_adr_dangerous_goods/views/product_product.xml @@ -0,0 +1,44 @@ + + + + product.product.form.inherit + product.product + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test-requirements.txt b/test-requirements.txt new file mode 100644 index 00000000..c93c771a --- /dev/null +++ b/test-requirements.txt @@ -0,0 +1 @@ +odoo-addon-l10n_eu_product_adr @ git+https://github.com/oca/community-data-files.git@refs/pull/208/head#subdirectory=l10n_eu_product_adr