Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ addon | version | maintainers | summary
[company_sanitary_registry](company_sanitary_registry/) | 17.0.1.0.0 | | Sanitary Registry
[l10n_eu_nace](l10n_eu_nace/) | 17.0.1.0.0 | <a href='https://github.com/rafaelbn'><img src='https://github.com/rafaelbn.png' width='32' height='32' style='border-radius:50%;' alt='rafaelbn'/></a> <a href='https://github.com/yajo'><img src='https://github.com/yajo.png' width='32' height='32' style='border-radius:50%;' alt='yajo'/></a> <a href='https://github.com/edlopen'><img src='https://github.com/edlopen.png' width='32' height='32' style='border-radius:50%;' alt='edlopen'/></a> | European NACE partner categories
[l10n_eu_product_adr](l10n_eu_product_adr/) | 17.0.1.0.0 | | Allows to set appropriate danger class and components
[l10n_eu_product_adr_dangerous_goods](l10n_eu_product_adr_dangerous_goods/) | 17.0.1.0.0 | <a href='https://github.com/mmequignon'><img src='https://github.com/mmequignon.png' width='32' height='32' style='border-radius:50%;' alt='mmequignon'/></a> | l10n Eu Product Adr Dangerous Goods
[product_fao_fishing](product_fao_fishing/) | 17.0.1.0.0 | | Set fishing areas and capture technology
[uom_unece](uom_unece/) | 17.0.1.0.0 | <a href='https://github.com/astirpe'><img src='https://github.com/astirpe.png' width='32' height='32' style='border-radius:50%;' alt='astirpe'/></a> <a href='https://github.com/alexis-via'><img src='https://github.com/alexis-via.png' width='32' height='32' style='border-radius:50%;' alt='alexis-via'/></a> | UNECE nomenclature for the units of measure

Expand Down
101 changes: 101 additions & 0 deletions l10n_eu_product_adr_dangerous_goods/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

===================================
l10n Eu Product Adr Dangerous Goods
===================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:0b953286b69329695e56618a87b6d8c33786858301281c13fb9a3e10b7f08e52
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/license-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/17.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-17-0/community-data-files-17-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=17.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 <https://github.com/OCA/community-data-files/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/community-data-files/issues/new?body=module:%20l10n_eu_product_adr_dangerous_goods%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
-------

* Camptocamp

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

- Matthieu Méquignon <matthieu.mequignon@camptocamp.com>
- Do Anh Duy <duyda@trobz.com>

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 <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-mmequignon|

This module is part of the `OCA/community-data-files <https://github.com/OCA/community-data-files/tree/17.0/l10n_eu_product_adr_dangerous_goods>`_ 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 l10n_eu_product_adr_dangerous_goods/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
22 changes: 22 additions & 0 deletions l10n_eu_product_adr_dangerous_goods/__manifest__.py
Original file line number Diff line number Diff line change
@@ -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": "17.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",
],
}
109 changes: 109 additions & 0 deletions l10n_eu_product_adr_dangerous_goods/data/utility_models.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2021 Camptocamp SA
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo noupdate="1">
<!--storage classes-->
<record id="storage_class_1" model="storage.class">
<field name="name">LK 2</field>
</record>
<record id="storage_class_2" model="storage.class">
<field name="name">LK 3</field>
</record>
<record id="storage_class_3" model="storage.class">
<field name="name">LK 4.1</field>
</record>
<record id="storage_class_4" model="storage.class">
<field name="name">LK 4.2</field>
</record>
<record id="storage_class_5" model="storage.class">
<field name="name">LK 4.3</field>
</record>
<record id="storage_class_6" model="storage.class">
<field name="name">LK 5</field>
</record>
<record id="storage_class_7" model="storage.class">
<field name="name">LK 6.1</field>
</record>
<record id="storage_class_8" model="storage.class">
<field name="name">LK 8</field>
</record>
<record id="storage_class_9" model="storage.class">
<field name="name">LK 10,12</field>
</record>
<record id="storage_class_10" model="storage.class">
<field name="name">LK 11,13</field>
</record>

<!--packaging types-->
<record id="packaging_type_1" model="packaging.type">
<field name="name">Bottle</field>
</record>
<record id="packaging_type_2" model="packaging.type">
<field name="name">Canister</field>
</record>
<record id="packaging_type_3" model="packaging.type">
<field name="name">Cartridge</field>
</record>
<record id="packaging_type_4" model="packaging.type">
<field name="name">Box</field>
</record>
<record id="packaging_type_5" model="packaging.type">
<field name="name">Bag</field>
</record>
<record id="packaging_type_6" model="packaging.type">
<field name="name">Spray</field>
</record>
<record id="packaging_type_7" model="packaging.type">
<field name="name">Can</field>
</record>
<record id="packaging_type_8" model="packaging.type">
<field name="name">Tube</field>
</record>

<!--storage temps-->
<record id="storage_temp_1" model="storage.temp">
<field name="name">to 25°C</field>
</record>
<record id="storage_temp_2" model="storage.temp">
<field name="name">over 25°C</field>
</record>
<record id="storage_temp_3" model="storage.temp">
<field name="name">to 30°C</field>
</record>

<!--wgk classes-->
<record id="wgk_class_1" model="wgk.class">
<field name="name">WGK 1</field>
</record>
<record id="wgk_class_2" model="wgk.class">
<field name="name">WGK 2</field>
</record>
<record id="wgk_class_3" model="wgk.class">
<field name="name">WGK 3</field>
</record>
<record id="wgk_class_4" model="wgk.class">
<field name="name">WGK A</field>
</record>
<record id="wgk_class_5" model="wgk.class">
<field name="name">WGK B</field>
</record>

<!--limited amounts-->
<record id="limited_amount_1" model="limited.amount">
<field name="name">LQ (Limited Quantity)</field>
</record>
<record id="limited_amount_2" model="limited.amount">
<field name="name">DG (Dangerous Goods)</field>
</record>

<!--dangerous uom-->
<record id="dangerous_uom_1" model="dangerous.uom">
<field name="name">l (Liter)</field>
</record>
<record id="dangerous_uom_2" model="dangerous.uom">
<field name="name">kg (Kilogramm)</field>
</record>
<record id="dangerous_uom_3" model="dangerous.uom">
<field name="name">g (Gramm)</field>
</record>
</odoo>
Loading
Loading