- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by alexis-via
Showing
20 changed files
with
1,469 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
========== | ||
Base UNECE | ||
========== | ||
|
||
.. | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! source digest: sha256:289329077c03d4b8165a8129a3dbc91ebe7a77ae819f4a871eb03a2938b01c6d | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png | ||
:target: https://odoo-community.org/page/development-status | ||
:alt: Production/Stable | ||
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png | ||
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html | ||
:alt: License: LGPL-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/base_unece | ||
: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-base_unece | ||
: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| | ||
|
||
This module adds the technical basis for the use of the code lists | ||
standardized by the `United Nations Economic Commission for | ||
Europe <http://www.unece.org>`__ (which has 56 members states in Europe, | ||
America and Central Asia, cf | ||
`Wikipedia <https://en.wikipedia.org/wiki/United_Nations_Economic_Commission_for_Europe>`__. | ||
These code lists are sometimes called UNCL (United Nations Code List). | ||
UNECE has standardized code lists for many different things: units of | ||
measure, payment means, modes of transport, packaging, taxes, etc.... | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Configuration | ||
============= | ||
|
||
The configuration takes place in the menu *Settings > Technical > | ||
Parameters > UNECE Code Lists*. | ||
|
||
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:%20base_unece%0Aversion:%2018.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> | ||
- Levent Karakaş | ||
- Pedro M. Baeza | ||
- Andrea Stirpe | ||
- Nhan Tran <nhant@trobz.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-astirpe| image:: https://github.com/astirpe.png?size=40px | ||
:target: https://github.com/astirpe | ||
:alt: astirpe | ||
.. |maintainer-alexis-via| image:: https://github.com/alexis-via.png?size=40px | ||
:target: https://github.com/alexis-via | ||
:alt: alexis-via | ||
|
||
Current `maintainers <https://odoo-community.org/page/maintainer-role>`__: | ||
|
||
|maintainer-astirpe| |maintainer-alexis-via| | ||
|
||
This module is part of the `OCA/community-data-files <https://github.com/OCA/community-data-files/tree/18.0/base_unece>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Copyright 2016-2021 Akretion France (http://www.akretion.com) | ||
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl). | ||
# @author Alexis de Lattre <alexis.delattre@akretion.com> | ||
|
||
{ | ||
"name": "Base UNECE", | ||
"version": "18.0.1.0.0", | ||
"category": "Tools", | ||
"license": "LGPL-3", | ||
"development_status": "Production/Stable", | ||
"summary": "Base module for UNECE code lists", | ||
"author": "Akretion,Odoo Community Association (OCA)", | ||
"maintainers": ["astirpe", "alexis-via"], | ||
"website": "https://github.com/OCA/community-data-files", | ||
"depends": ["base"], | ||
"data": ["views/unece_code_list.xml", "security/ir.model.access.csv"], | ||
"installable": True, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * base_unece | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 17.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: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__active | ||
msgid "Active" | ||
msgstr "" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.constraint,message:base_unece.constraint_unece_code_list_type_code_uniq | ||
msgid "An UNECE code of the same type already exists" | ||
msgstr "" | ||
|
||
#. module: base_unece | ||
#: model_terms:ir.ui.view,arch_db:base_unece.unece_code_list_form | ||
#: model_terms:ir.ui.view,arch_db:base_unece.unece_code_list_search | ||
msgid "Archived" | ||
msgstr "" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__code | ||
msgid "Code" | ||
msgstr "" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__create_uid | ||
msgid "Created by" | ||
msgstr "" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__create_date | ||
msgid "Created on" | ||
msgstr "" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__description | ||
msgid "Description" | ||
msgstr "" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__display_name | ||
msgid "Display Name" | ||
msgstr "" | ||
|
||
#. module: base_unece | ||
#: model_terms:ir.ui.view,arch_db:base_unece.unece_code_list_search | ||
msgid "Group By" | ||
msgstr "" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__id | ||
msgid "ID" | ||
msgstr "" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__write_uid | ||
msgid "Last Updated by" | ||
msgstr "" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__write_date | ||
msgid "Last Updated on" | ||
msgstr "" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__name | ||
msgid "Name" | ||
msgstr "" | ||
|
||
#. module: base_unece | ||
#: model_terms:ir.ui.view,arch_db:base_unece.unece_code_list_search | ||
msgid "Name or Code" | ||
msgstr "" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__type | ||
#: model_terms:ir.ui.view,arch_db:base_unece.unece_code_list_search | ||
msgid "Type" | ||
msgstr "" | ||
|
||
#. module: base_unece | ||
#: model:ir.actions.act_window,name:base_unece.unece_code_list_action | ||
#: model:ir.ui.menu,name:base_unece.unece_code_list_menu | ||
msgid "UNECE Code Lists" | ||
msgstr "" | ||
|
||
#. module: base_unece | ||
#: model:ir.model,name:base_unece.model_unece_code_list | ||
msgid "UNECE nomenclatures" | ||
msgstr "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * base_unece | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 16.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"PO-Revision-Date: 2022-11-04 13:44+0000\n" | ||
"Last-Translator: Maria Sparenberg <maria.sparenberg@gmx.net>\n" | ||
"Language-Team: none\n" | ||
"Language: de\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.14.1\n" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__active | ||
msgid "Active" | ||
msgstr "Aktiv" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.constraint,message:base_unece.constraint_unece_code_list_type_code_uniq | ||
msgid "An UNECE code of the same type already exists" | ||
msgstr "Es gibt bereits einen UNECE-Code vom selben Typ." | ||
|
||
#. module: base_unece | ||
#: model_terms:ir.ui.view,arch_db:base_unece.unece_code_list_form | ||
#: model_terms:ir.ui.view,arch_db:base_unece.unece_code_list_search | ||
msgid "Archived" | ||
msgstr "Archiviert" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__code | ||
msgid "Code" | ||
msgstr "Code" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__create_uid | ||
msgid "Created by" | ||
msgstr "Erstellt von" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__create_date | ||
msgid "Created on" | ||
msgstr "Erstellt am" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__description | ||
msgid "Description" | ||
msgstr "Beschreibung" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__display_name | ||
msgid "Display Name" | ||
msgstr "Anzeigename" | ||
|
||
#. module: base_unece | ||
#: model_terms:ir.ui.view,arch_db:base_unece.unece_code_list_search | ||
msgid "Group By" | ||
msgstr "Gruppieren nach" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__id | ||
msgid "ID" | ||
msgstr "ID" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__write_uid | ||
msgid "Last Updated by" | ||
msgstr "Zuletzt aktualisiert von" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__write_date | ||
msgid "Last Updated on" | ||
msgstr "Zuletzt aktualisiert am" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__name | ||
msgid "Name" | ||
msgstr "Bezeichnung" | ||
|
||
#. module: base_unece | ||
#: model_terms:ir.ui.view,arch_db:base_unece.unece_code_list_search | ||
msgid "Name or Code" | ||
msgstr "Bezeichnung oder Code" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__type | ||
#: model_terms:ir.ui.view,arch_db:base_unece.unece_code_list_search | ||
msgid "Type" | ||
msgstr "Typ" | ||
|
||
#. module: base_unece | ||
#: model:ir.actions.act_window,name:base_unece.unece_code_list_action | ||
#: model:ir.ui.menu,name:base_unece.unece_code_list_menu | ||
msgid "UNECE Code Lists" | ||
msgstr "UNECE-Code-Liste" | ||
|
||
#. module: base_unece | ||
#: model:ir.model,name:base_unece.model_unece_code_list | ||
msgid "UNECE nomenclatures" | ||
msgstr "UNECE-Nomenklatur" | ||
|
||
#~ msgid "Last Modified on" | ||
#~ msgstr "Zuletzt geändert am" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * base_unece | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 16.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"PO-Revision-Date: 2023-08-02 12:09+0000\n" | ||
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\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: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__active | ||
msgid "Active" | ||
msgstr "Activo" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.constraint,message:base_unece.constraint_unece_code_list_type_code_uniq | ||
msgid "An UNECE code of the same type already exists" | ||
msgstr "Ya existe un código CEPE (UNECE) del mismo tipo" | ||
|
||
#. module: base_unece | ||
#: model_terms:ir.ui.view,arch_db:base_unece.unece_code_list_form | ||
#: model_terms:ir.ui.view,arch_db:base_unece.unece_code_list_search | ||
msgid "Archived" | ||
msgstr "Archivado" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__code | ||
msgid "Code" | ||
msgstr "Código" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__create_uid | ||
msgid "Created by" | ||
msgstr "Creado por" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__create_date | ||
msgid "Created on" | ||
msgstr "Creado el" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__description | ||
msgid "Description" | ||
msgstr "Descripción" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__display_name | ||
msgid "Display Name" | ||
msgstr "Nombre a Mostrar" | ||
|
||
#. module: base_unece | ||
#: model_terms:ir.ui.view,arch_db:base_unece.unece_code_list_search | ||
msgid "Group By" | ||
msgstr "Agrupado por" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__id | ||
msgid "ID" | ||
msgstr "ID (identificación)" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__write_uid | ||
msgid "Last Updated by" | ||
msgstr "Actualizado por última vez por" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__write_date | ||
msgid "Last Updated on" | ||
msgstr "Última actualización el" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__name | ||
msgid "Name" | ||
msgstr "Nombre" | ||
|
||
#. module: base_unece | ||
#: model_terms:ir.ui.view,arch_db:base_unece.unece_code_list_search | ||
msgid "Name or Code" | ||
msgstr "Nombre o código" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__type | ||
#: model_terms:ir.ui.view,arch_db:base_unece.unece_code_list_search | ||
msgid "Type" | ||
msgstr "Tipo" | ||
|
||
#. module: base_unece | ||
#: model:ir.actions.act_window,name:base_unece.unece_code_list_action | ||
#: model:ir.ui.menu,name:base_unece.unece_code_list_menu | ||
msgid "UNECE Code Lists" | ||
msgstr "Listas de códigos de la CEPE (UNECE)" | ||
|
||
#. module: base_unece | ||
#: model:ir.model,name:base_unece.model_unece_code_list | ||
msgid "UNECE nomenclatures" | ||
msgstr "Nomenclaturas de la UNECE" | ||
|
||
#~ msgid "Last Modified on" | ||
#~ msgstr "Última Modificación el" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * base_unece | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 16.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"PO-Revision-Date: 2023-06-05 16:10+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: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__active | ||
msgid "Active" | ||
msgstr "Actif" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.constraint,message:base_unece.constraint_unece_code_list_type_code_uniq | ||
msgid "An UNECE code of the same type already exists" | ||
msgstr "Un code UNECE du même type existe déjà" | ||
|
||
#. module: base_unece | ||
#: model_terms:ir.ui.view,arch_db:base_unece.unece_code_list_form | ||
#: model_terms:ir.ui.view,arch_db:base_unece.unece_code_list_search | ||
msgid "Archived" | ||
msgstr "Archivé" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__code | ||
msgid "Code" | ||
msgstr "Code" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__create_uid | ||
msgid "Created by" | ||
msgstr "Créé par" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__create_date | ||
msgid "Created on" | ||
msgstr "Créé le" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__description | ||
msgid "Description" | ||
msgstr "Description" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__display_name | ||
msgid "Display Name" | ||
msgstr "Nom affiché" | ||
|
||
#. module: base_unece | ||
#: model_terms:ir.ui.view,arch_db:base_unece.unece_code_list_search | ||
msgid "Group By" | ||
msgstr "Regrouper par" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__id | ||
msgid "ID" | ||
msgstr "ID" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__write_uid | ||
msgid "Last Updated by" | ||
msgstr "Dernière mise à jour par" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__write_date | ||
msgid "Last Updated on" | ||
msgstr "Dernière mise à jour le" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__name | ||
msgid "Name" | ||
msgstr "Nom" | ||
|
||
#. module: base_unece | ||
#: model_terms:ir.ui.view,arch_db:base_unece.unece_code_list_search | ||
msgid "Name or Code" | ||
msgstr "Nom ou code" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__type | ||
#: model_terms:ir.ui.view,arch_db:base_unece.unece_code_list_search | ||
msgid "Type" | ||
msgstr "Type" | ||
|
||
#. module: base_unece | ||
#: model:ir.actions.act_window,name:base_unece.unece_code_list_action | ||
#: model:ir.ui.menu,name:base_unece.unece_code_list_menu | ||
msgid "UNECE Code Lists" | ||
msgstr "Listes de codes UNECE" | ||
|
||
#. module: base_unece | ||
#: model:ir.model,name:base_unece.model_unece_code_list | ||
msgid "UNECE nomenclatures" | ||
msgstr "Nomenclatures UNECE" | ||
|
||
#~ msgid "Last Modified on" | ||
#~ msgstr "Dernière modification le" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * base_unece | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 16.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"PO-Revision-Date: 2023-01-31 08:12+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: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__active | ||
msgid "Active" | ||
msgstr "Aktivan" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.constraint,message:base_unece.constraint_unece_code_list_type_code_uniq | ||
msgid "An UNECE code of the same type already exists" | ||
msgstr "UNECE šifra istog tipa već postoji" | ||
|
||
#. module: base_unece | ||
#: model_terms:ir.ui.view,arch_db:base_unece.unece_code_list_form | ||
#: model_terms:ir.ui.view,arch_db:base_unece.unece_code_list_search | ||
msgid "Archived" | ||
msgstr "Arhivirano" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__code | ||
msgid "Code" | ||
msgstr "Šifra" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__create_uid | ||
msgid "Created by" | ||
msgstr "Kreirao" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__create_date | ||
msgid "Created on" | ||
msgstr "Kreirano" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__description | ||
msgid "Description" | ||
msgstr "Opis" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__display_name | ||
msgid "Display Name" | ||
msgstr "Naziv" | ||
|
||
#. module: base_unece | ||
#: model_terms:ir.ui.view,arch_db:base_unece.unece_code_list_search | ||
msgid "Group By" | ||
msgstr "Grupiraj po" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__id | ||
msgid "ID" | ||
msgstr "ID" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__write_uid | ||
msgid "Last Updated by" | ||
msgstr "Zadnje ažurirano" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__write_date | ||
msgid "Last Updated on" | ||
msgstr "Zadnje ažurirano" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__name | ||
msgid "Name" | ||
msgstr "Naziv" | ||
|
||
#. module: base_unece | ||
#: model_terms:ir.ui.view,arch_db:base_unece.unece_code_list_search | ||
msgid "Name or Code" | ||
msgstr "Naziv ili šifra" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__type | ||
#: model_terms:ir.ui.view,arch_db:base_unece.unece_code_list_search | ||
msgid "Type" | ||
msgstr "Tip" | ||
|
||
#. module: base_unece | ||
#: model:ir.actions.act_window,name:base_unece.unece_code_list_action | ||
#: model:ir.ui.menu,name:base_unece.unece_code_list_menu | ||
msgid "UNECE Code Lists" | ||
msgstr "Popis UNECE šifri" | ||
|
||
#. module: base_unece | ||
#: model:ir.model,name:base_unece.model_unece_code_list | ||
msgid "UNECE nomenclatures" | ||
msgstr "UNECE nomenklature" | ||
|
||
#~ msgid "Last Modified on" | ||
#~ msgstr "Zadnje modificirano" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * base_unece | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 17.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"PO-Revision-Date: 2024-03-05 12:07+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: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__active | ||
msgid "Active" | ||
msgstr "Attivo" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.constraint,message:base_unece.constraint_unece_code_list_type_code_uniq | ||
msgid "An UNECE code of the same type already exists" | ||
msgstr "Esiste già un codice UNECE dello stesso tipo" | ||
|
||
#. module: base_unece | ||
#: model_terms:ir.ui.view,arch_db:base_unece.unece_code_list_form | ||
#: model_terms:ir.ui.view,arch_db:base_unece.unece_code_list_search | ||
msgid "Archived" | ||
msgstr "In archivio" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__code | ||
msgid "Code" | ||
msgstr "Codice" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__create_uid | ||
msgid "Created by" | ||
msgstr "Creato da" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__create_date | ||
msgid "Created on" | ||
msgstr "Creato il" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__description | ||
msgid "Description" | ||
msgstr "Descrizione" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__display_name | ||
msgid "Display Name" | ||
msgstr "Nome visualizzato" | ||
|
||
#. module: base_unece | ||
#: model_terms:ir.ui.view,arch_db:base_unece.unece_code_list_search | ||
msgid "Group By" | ||
msgstr "Raggruppa per" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__id | ||
msgid "ID" | ||
msgstr "ID" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__write_uid | ||
msgid "Last Updated by" | ||
msgstr "Ultimo aggiornamento di" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__write_date | ||
msgid "Last Updated on" | ||
msgstr "Ultimo aggiornamento il" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__name | ||
msgid "Name" | ||
msgstr "Nome" | ||
|
||
#. module: base_unece | ||
#: model_terms:ir.ui.view,arch_db:base_unece.unece_code_list_search | ||
msgid "Name or Code" | ||
msgstr "Nome o codice" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__type | ||
#: model_terms:ir.ui.view,arch_db:base_unece.unece_code_list_search | ||
msgid "Type" | ||
msgstr "Tipo" | ||
|
||
#. module: base_unece | ||
#: model:ir.actions.act_window,name:base_unece.unece_code_list_action | ||
#: model:ir.ui.menu,name:base_unece.unece_code_list_menu | ||
msgid "UNECE Code Lists" | ||
msgstr "Elenchi codici UNECE" | ||
|
||
#. module: base_unece | ||
#: model:ir.model,name:base_unece.model_unece_code_list | ||
msgid "UNECE nomenclatures" | ||
msgstr "Nomenclatura UNECE" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * base_unece | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 14.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"PO-Revision-Date: 2021-04-23 19:47+0000\n" | ||
"Last-Translator: Bosd <c5e2fd43-d292-4c90-9d1f-74ff3436329a@anonaddy.me>\n" | ||
"Language-Team: none\n" | ||
"Language: nl\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.3.2\n" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__active | ||
msgid "Active" | ||
msgstr "Actief" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.constraint,message:base_unece.constraint_unece_code_list_type_code_uniq | ||
msgid "An UNECE code of the same type already exists" | ||
msgstr "Een UNECE code van hetzelfde tijpe bestaat al" | ||
|
||
#. module: base_unece | ||
#: model_terms:ir.ui.view,arch_db:base_unece.unece_code_list_form | ||
#: model_terms:ir.ui.view,arch_db:base_unece.unece_code_list_search | ||
msgid "Archived" | ||
msgstr "Gearchiveerd" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__code | ||
msgid "Code" | ||
msgstr "Code" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__create_uid | ||
msgid "Created by" | ||
msgstr "Aangemaakt door" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__create_date | ||
msgid "Created on" | ||
msgstr "Aangemaakt op" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__description | ||
msgid "Description" | ||
msgstr "Omschrijving" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__display_name | ||
msgid "Display Name" | ||
msgstr "Weergavenaam" | ||
|
||
#. module: base_unece | ||
#: model_terms:ir.ui.view,arch_db:base_unece.unece_code_list_search | ||
msgid "Group By" | ||
msgstr "Groeppeer op" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__id | ||
msgid "ID" | ||
msgstr "ID" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__write_uid | ||
msgid "Last Updated by" | ||
msgstr "Laatste update door" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__write_date | ||
msgid "Last Updated on" | ||
msgstr "Laatste update op" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__name | ||
msgid "Name" | ||
msgstr "Naam" | ||
|
||
#. module: base_unece | ||
#: model_terms:ir.ui.view,arch_db:base_unece.unece_code_list_search | ||
msgid "Name or Code" | ||
msgstr "Naam van de Code" | ||
|
||
#. module: base_unece | ||
#: model:ir.model.fields,field_description:base_unece.field_unece_code_list__type | ||
#: model_terms:ir.ui.view,arch_db:base_unece.unece_code_list_search | ||
msgid "Type" | ||
msgstr "Type" | ||
|
||
#. module: base_unece | ||
#: model:ir.actions.act_window,name:base_unece.unece_code_list_action | ||
#: model:ir.ui.menu,name:base_unece.unece_code_list_menu | ||
msgid "UNECE Code Lists" | ||
msgstr "UNECE Code Lijst" | ||
|
||
#. module: base_unece | ||
#: model:ir.model,name:base_unece.model_unece_code_list | ||
msgid "UNECE nomenclatures" | ||
msgstr "" | ||
|
||
#~ msgid "Last Modified on" | ||
#~ msgstr "Laatst gewijzigt op" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from . import unece_code_list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Copyright 2016-2021 Akretion France (http://www.akretion.com) | ||
# @author: Alexis de Lattre <alexis.delattre@akretion.com> | ||
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl). | ||
|
||
from odoo import api, fields, models | ||
|
||
|
||
# There are so many UNCL that can be usefull in Odoo | ||
# that it would be stupid to have one object for each UNCL | ||
# because it would duplicate the python code, views, menu entries, ACL, etc... | ||
# So I decided to have a single object with a type field | ||
class UneceCodeList(models.Model): | ||
_name = "unece.code.list" | ||
_description = "UNECE nomenclatures" | ||
_order = "type, code" | ||
|
||
code = fields.Char(required=True, copy=False) | ||
name = fields.Char(required=True, copy=False) | ||
type = fields.Selection([], required=True) | ||
description = fields.Text() | ||
active = fields.Boolean(default=True) | ||
|
||
_sql_constraints = [ | ||
( | ||
"type_code_uniq", | ||
"unique(type, code)", | ||
"An UNECE code of the same type already exists", | ||
) | ||
] | ||
|
||
@api.depends("code", "name") | ||
def _compute_display_name(self): | ||
for entry in self: | ||
entry.display_name = f"[{entry.code}] {entry.name}" | ||
|
||
# _rec_names_search = ['name', 'code'] doesn't give the result we want | ||
# We want that, when you type an exact code, you get only that code | ||
# Exemple : on UNECE Tax category, when you type "S", you should get only | ||
# "[S] Standard rate" | ||
@api.model | ||
def _search_display_name(self, operator, value): | ||
if value and operator == "ilike": | ||
ids = list(self._search([("code", "=", value)])) | ||
if ids: | ||
return [("id", "in", ids)] | ||
return super()._search_display_name(operator, value) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[build-system] | ||
requires = ["whool"] | ||
build-backend = "whool.buildapi" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
The configuration takes place in the menu *Settings \> Technical \> | ||
Parameters \> UNECE Code Lists*. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
- Alexis de Lattre \<<alexis.delattre@akretion.com>\> | ||
- Levent Karakaş | ||
- Pedro M. Baeza | ||
- Andrea Stirpe | ||
- Nhan Tran \<<nhant@trobz.com>\> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
This module adds the technical basis for the use of the code lists | ||
standardized by the [United Nations Economic Commission for | ||
Europe](http://www.unece.org) (which has 56 members states in Europe, | ||
America and Central Asia, cf | ||
[Wikipedia](https://en.wikipedia.org/wiki/United_Nations_Economic_Commission_for_Europe). | ||
These code lists are sometimes called UNCL (United Nations Code List). | ||
UNECE has standardized code lists for many different things: units of | ||
measure, payment means, modes of transport, packaging, taxes, etc.... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink | ||
access_unece_code_list_user_read,Read access on unece.code.list to employees,model_unece_code_list,base.group_user,1,0,0,0 | ||
access_unece_code_list_public_read,Read access on unece.code.list to public,model_unece_code_list,base.group_public,1,0,0,0 | ||
access_unece_code_list_portal_read,Read access on unece.code.list to portal,model_unece_code_list,base.group_portal,1,0,0,0 | ||
access_unece_code_list_full,Full access on unece.code.list to Settings group,model_unece_code_list,base.group_system,1,1,1,1 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!-- | ||
Copyright 2016-2021 Akretion France (http://www.akretion.com/) | ||
@author Alexis de Lattre <alexis.delattre@akretion.com> | ||
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). | ||
--> | ||
<odoo> | ||
<record id="unece_code_list_form" model="ir.ui.view"> | ||
<field name="model">unece.code.list</field> | ||
<field name="arch" type="xml"> | ||
<form> | ||
<sheet> | ||
<widget | ||
name="web_ribbon" | ||
title="Archived" | ||
bg_color="bg-danger" | ||
invisible="active" | ||
/> | ||
<group name="main"> | ||
<group name="general"> | ||
<field name="code" /> | ||
<field name="name" /> | ||
<field name="active" invisible="1" /> | ||
</group> | ||
<group name="extra"> | ||
<field name="type" /> | ||
</group> | ||
<field name="description" /> | ||
</group> | ||
</sheet> | ||
</form> | ||
</field> | ||
</record> | ||
<record id="unece_code_list_tree" model="ir.ui.view"> | ||
<field name="model">unece.code.list</field> | ||
<field name="arch" type="xml"> | ||
<list> | ||
<field | ||
name="type" | ||
column_invisible="not context.get('unece_code_list_main_view')" | ||
/> | ||
<field name="code" /> | ||
<field name="name" /> | ||
<field name="description" optional="show" /> | ||
</list> | ||
</field> | ||
</record> | ||
<record id="unece_code_list_search" model="ir.ui.view"> | ||
<field name="model">unece.code.list</field> | ||
<field name="arch" type="xml"> | ||
<search> | ||
<field | ||
name="name" | ||
string="Name or Code" | ||
filter_domain="['|', ('name', 'ilike', self), ('code', 'ilike', self)]" | ||
/> | ||
<field name="code" /> | ||
<field name="type" /> | ||
<filter | ||
string="Archived" | ||
name="inactive" | ||
domain="[('active', '=', False)]" | ||
/> | ||
<group string="Group By" name="groupby"> | ||
<filter | ||
name="type_groupby" | ||
string="Type" | ||
context="{'group_by': 'type'}" | ||
/> | ||
</group> | ||
</search> | ||
</field> | ||
</record> | ||
<record id="unece_code_list_action" model="ir.actions.act_window"> | ||
<field name="name">UNECE Code Lists</field> | ||
<field name="res_model">unece.code.list</field> | ||
<field name="view_mode">list,form</field> | ||
<field name="context">{'unece_code_list_main_view': True}</field> | ||
</record> | ||
<menuitem | ||
id="unece_code_list_menu" | ||
action="unece_code_list_action" | ||
parent="base.menu_ir_property" | ||
sequence="150" | ||
/> | ||
</odoo> |