Skip to content

Commit d252882

Browse files
authored
Merge pull request #243 from OCA/17.0
Syncing from upstream OCA/community-data-files (17.0)
2 parents 5f1fc9d + cd3dcf9 commit d252882

23 files changed

Lines changed: 1994 additions & 1 deletion

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ addon | version | maintainers | summary
3030
[company_sanitary_registry](company_sanitary_registry/) | 17.0.1.0.0 | | Sanitary Registry
3131
[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
3232
[l10n_eu_product_adr](l10n_eu_product_adr/) | 17.0.1.0.0 | | Allows to set appropriate danger class and components
33+
[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
3334
[product_fao_fishing](product_fao_fishing/) | 17.0.1.0.0 | | Set fishing areas and capture technology
3435
[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
3536

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
.. image:: https://odoo-community.org/readme-banner-image
2+
:target: https://odoo-community.org/get-involved?utm_source=readme
3+
:alt: Odoo Community Association
4+
5+
===================================
6+
l10n Eu Product Adr Dangerous Goods
7+
===================================
8+
9+
..
10+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
11+
!! This file is generated by oca-gen-addon-readme !!
12+
!! changes will be overwritten. !!
13+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
14+
!! source digest: sha256:0b953286b69329695e56618a87b6d8c33786858301281c13fb9a3e10b7f08e52
15+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
16+
17+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
18+
:target: https://odoo-community.org/page/development-status
19+
:alt: Beta
20+
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
21+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
22+
:alt: License: AGPL-3
23+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fcommunity--data--files-lightgray.png?logo=github
24+
:target: https://github.com/OCA/community-data-files/tree/17.0/l10n_eu_product_adr_dangerous_goods
25+
:alt: OCA/community-data-files
26+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
27+
:target: https://translation.odoo-community.org/projects/community-data-files-17-0/community-data-files-17-0-l10n_eu_product_adr_dangerous_goods
28+
:alt: Translate me on Weblate
29+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
30+
:target: https://runboat.odoo-community.org/builds?repo=OCA/community-data-files&target_branch=17.0
31+
:alt: Try me on Runboat
32+
33+
|badge1| |badge2| |badge3| |badge4| |badge5|
34+
35+
Adds a few utility models and records to the l10n_eu_product_adr module.
36+
37+
**Table of contents**
38+
39+
.. contents::
40+
:local:
41+
42+
Known issues / Roadmap
43+
======================
44+
45+
- rename models, prefix them with adr. as it is done in
46+
l10n_eu_product_adr
47+
48+
Bug Tracker
49+
===========
50+
51+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/community-data-files/issues>`_.
52+
In case of trouble, please check there if your issue has already been reported.
53+
If you spotted it first, help us to smash it by providing a detailed and welcomed
54+
`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**>`_.
55+
56+
Do not contact contributors directly about support or help with technical issues.
57+
58+
Credits
59+
=======
60+
61+
Authors
62+
-------
63+
64+
* Camptocamp
65+
66+
Contributors
67+
------------
68+
69+
- Matthieu Méquignon <matthieu.mequignon@camptocamp.com>
70+
- Do Anh Duy <duyda@trobz.com>
71+
72+
Other credits
73+
-------------
74+
75+
The migration of this module from 14.0 to 18.0 was financially supported
76+
by Camptocamp.
77+
78+
Maintainers
79+
-----------
80+
81+
This module is maintained by the OCA.
82+
83+
.. image:: https://odoo-community.org/logo.png
84+
:alt: Odoo Community Association
85+
:target: https://odoo-community.org
86+
87+
OCA, or the Odoo Community Association, is a nonprofit organization whose
88+
mission is to support the collaborative development of Odoo features and
89+
promote its widespread use.
90+
91+
.. |maintainer-mmequignon| image:: https://github.com/mmequignon.png?size=40px
92+
:target: https://github.com/mmequignon
93+
:alt: mmequignon
94+
95+
Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
96+
97+
|maintainer-mmequignon|
98+
99+
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.
100+
101+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from . import models
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Copyright 2021 Camptocamp SA
2+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
3+
{
4+
"name": "l10n Eu Product Adr Dangerous Goods",
5+
"version": "17.0.1.0.0",
6+
"category": "Inventory/Delivery",
7+
"website": "https://github.com/OCA/community-data-files",
8+
"author": "Camptocamp, Odoo Community Association (OCA)",
9+
"maintainers": ["mmequignon"],
10+
"license": "AGPL-3",
11+
"installable": True,
12+
"auto_install": False,
13+
"depends": ["l10n_eu_product_adr"],
14+
"data": [
15+
# data
16+
"data/utility_models.xml",
17+
# security
18+
"security/ir.model.access.csv",
19+
# views
20+
"views/product_product.xml",
21+
],
22+
}
Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<!-- Copyright 2021 Camptocamp SA
3+
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
4+
<odoo noupdate="1">
5+
<!--storage classes-->
6+
<record id="storage_class_1" model="storage.class">
7+
<field name="name">LK 2</field>
8+
</record>
9+
<record id="storage_class_2" model="storage.class">
10+
<field name="name">LK 3</field>
11+
</record>
12+
<record id="storage_class_3" model="storage.class">
13+
<field name="name">LK 4.1</field>
14+
</record>
15+
<record id="storage_class_4" model="storage.class">
16+
<field name="name">LK 4.2</field>
17+
</record>
18+
<record id="storage_class_5" model="storage.class">
19+
<field name="name">LK 4.3</field>
20+
</record>
21+
<record id="storage_class_6" model="storage.class">
22+
<field name="name">LK 5</field>
23+
</record>
24+
<record id="storage_class_7" model="storage.class">
25+
<field name="name">LK 6.1</field>
26+
</record>
27+
<record id="storage_class_8" model="storage.class">
28+
<field name="name">LK 8</field>
29+
</record>
30+
<record id="storage_class_9" model="storage.class">
31+
<field name="name">LK 10,12</field>
32+
</record>
33+
<record id="storage_class_10" model="storage.class">
34+
<field name="name">LK 11,13</field>
35+
</record>
36+
37+
<!--packaging types-->
38+
<record id="packaging_type_1" model="packaging.type">
39+
<field name="name">Bottle</field>
40+
</record>
41+
<record id="packaging_type_2" model="packaging.type">
42+
<field name="name">Canister</field>
43+
</record>
44+
<record id="packaging_type_3" model="packaging.type">
45+
<field name="name">Cartridge</field>
46+
</record>
47+
<record id="packaging_type_4" model="packaging.type">
48+
<field name="name">Box</field>
49+
</record>
50+
<record id="packaging_type_5" model="packaging.type">
51+
<field name="name">Bag</field>
52+
</record>
53+
<record id="packaging_type_6" model="packaging.type">
54+
<field name="name">Spray</field>
55+
</record>
56+
<record id="packaging_type_7" model="packaging.type">
57+
<field name="name">Can</field>
58+
</record>
59+
<record id="packaging_type_8" model="packaging.type">
60+
<field name="name">Tube</field>
61+
</record>
62+
63+
<!--storage temps-->
64+
<record id="storage_temp_1" model="storage.temp">
65+
<field name="name">to 25°C</field>
66+
</record>
67+
<record id="storage_temp_2" model="storage.temp">
68+
<field name="name">over 25°C</field>
69+
</record>
70+
<record id="storage_temp_3" model="storage.temp">
71+
<field name="name">to 30°C</field>
72+
</record>
73+
74+
<!--wgk classes-->
75+
<record id="wgk_class_1" model="wgk.class">
76+
<field name="name">WGK 1</field>
77+
</record>
78+
<record id="wgk_class_2" model="wgk.class">
79+
<field name="name">WGK 2</field>
80+
</record>
81+
<record id="wgk_class_3" model="wgk.class">
82+
<field name="name">WGK 3</field>
83+
</record>
84+
<record id="wgk_class_4" model="wgk.class">
85+
<field name="name">WGK A</field>
86+
</record>
87+
<record id="wgk_class_5" model="wgk.class">
88+
<field name="name">WGK B</field>
89+
</record>
90+
91+
<!--limited amounts-->
92+
<record id="limited_amount_1" model="limited.amount">
93+
<field name="name">LQ (Limited Quantity)</field>
94+
</record>
95+
<record id="limited_amount_2" model="limited.amount">
96+
<field name="name">DG (Dangerous Goods)</field>
97+
</record>
98+
99+
<!--dangerous uom-->
100+
<record id="dangerous_uom_1" model="dangerous.uom">
101+
<field name="name">l (Liter)</field>
102+
</record>
103+
<record id="dangerous_uom_2" model="dangerous.uom">
104+
<field name="name">kg (Kilogramm)</field>
105+
</record>
106+
<record id="dangerous_uom_3" model="dangerous.uom">
107+
<field name="name">g (Gramm)</field>
108+
</record>
109+
</odoo>

0 commit comments

Comments
 (0)