-
Notifications
You must be signed in to change notification settings - Fork 41
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 victor-champonnois
- Loading branch information
Showing
17 changed files
with
1,122 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,73 @@ | ||
===================== | ||
Beesdoo Product label | ||
===================== | ||
|
||
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |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%2Fobeesdoo-lightgray.png?logo=github | ||
:target: https://github.com/OCA/obeesdoo/tree/16.0/beesdoo_product_label | ||
:alt: OCA/obeesdoo | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/obeesdoo-16-0/obeesdoo-16-0-beesdoo_product_label | ||
:alt: Translate me on Weblate | ||
|
||
|badge1| |badge2| |badge3| |badge4| | ||
|
||
- Adds organic, local, fairtrade and origin labels on product templates (“Label” tab) | ||
- Adds a 'Comments' field on product templates for use on labels (“Label” tab) | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/obeesdoo/issues>`_. | ||
In case of trouble, please check there if your issue has already been reported. | ||
If you spotted it first, help us smashing it by providing a detailed and welcomed | ||
`feedback <https://github.com/OCA/obeesdoo/issues/new?body=module:%20beesdoo_product_label%0Aversion:%2016.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 | ||
~~~~~~~ | ||
|
||
* BEES coop - Cellule IT | ||
* Coop IT Easy SC | ||
|
||
Contributors | ||
~~~~~~~~~~~~ | ||
|
||
* BEES coop - Cellule IT | ||
* Coop IT Easy SC | ||
|
||
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. | ||
|
||
This module is part of the `OCA/obeesdoo <https://github.com/OCA/obeesdoo/tree/16.0/beesdoo_product_label>`_ 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,34 @@ | ||
# Copyright 2017 - 2020 BEES coop SCRLfs | ||
# - Elouan Lebars <[email protected]> | ||
# - Rémy Taymans <[email protected]> | ||
# - Houssine BAKKALI <[email protected]> | ||
# - Manuel Claeys Bouuaert <[email protected]> | ||
# - Vincent Van Rossem <[email protected]> | ||
# - Elise Dupont | ||
# - Thibault François | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
{ | ||
"name": "Beesdoo Product label", | ||
"summary": """ | ||
Adds the label bio/ethique/provenance. | ||
""", | ||
"author": "BEES coop - Cellule IT, Coop IT Easy SC", | ||
"website": "https://github.com/beescoop/Obeesdoo", | ||
"category": "Sales", | ||
"version": "16.0.1.0.0", | ||
"depends": [ | ||
"product", | ||
"account", | ||
"sale", | ||
"purchase", | ||
"product_main_supplier", | ||
], | ||
"data": [ | ||
"data/product_label.xml", | ||
"views/product_template_views.xml", | ||
"views/product_label_views.xml", | ||
"security/ir.model.access.csv", | ||
], | ||
"installable": True, | ||
"license": "AGPL-3", | ||
} |
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,63 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo noupdate="1"> | ||
<record model="beesdoo.product.label" id="eco_green"> | ||
<field name="name">Label Bio ou Confiance</field> | ||
<field name="type">eco</field> | ||
<field name="color_code">#40ff00</field> | ||
</record> | ||
<record model="beesdoo.product.label" id="eco_orange"> | ||
<field name="name">Agriculture raisonnée</field> | ||
<field name="type">eco</field> | ||
<field name="color_code">#ffa200</field> | ||
</record> | ||
<record model="beesdoo.product.label" id="eco_red"> | ||
<field name="name">Conventionnel</field> | ||
<field name="type">eco</field> | ||
<field name="color_code">#ff4000</field> | ||
</record> | ||
<record model="beesdoo.product.label" id="local_green"> | ||
<field name="name">Belgique</field> | ||
<field name="type">local</field> | ||
<field name="color_code">#40ff00</field> | ||
</record> | ||
<record model="beesdoo.product.label" id="local_orange"> | ||
<field name="name">Europe</field> | ||
<field name="type">local</field> | ||
<field name="color_code">#ffa200</field> | ||
</record> | ||
<record model="beesdoo.product.label" id="local_red"> | ||
<field name="name">Monde</field> | ||
<field name="type">local</field> | ||
<field name="color_code">#ff4000</field> | ||
</record> | ||
<record model="beesdoo.product.label" id="fair_green"> | ||
<field name="name">Label par tiers</field> | ||
<field name="type">fair</field> | ||
<field name="color_code">#40ff00</field> | ||
</record> | ||
<record model="beesdoo.product.label" id="fair_orange"> | ||
<field name="name">Préserve l’intérêt</field> | ||
<field name="type">fair</field> | ||
<field name="color_code">#ffa200</field> | ||
</record> | ||
<record model="beesdoo.product.label" id="fair_red"> | ||
<field name="name">Aucune garantie</field> | ||
<field name="type">fair</field> | ||
<field name="color_code">#ff4000</field> | ||
</record> | ||
<record model="beesdoo.product.label" id="delivery_green"> | ||
<field name="name">Intermédiaire coopératif</field> | ||
<field name="type">delivery</field> | ||
<field name="color_code">#40ff00</field> | ||
</record> | ||
<record model="beesdoo.product.label" id="delivery_orange"> | ||
<field name="name">Grossiste biologique</field> | ||
<field name="type">delivery</field> | ||
<field name="color_code">#ffa200</field> | ||
</record> | ||
<record model="beesdoo.product.label" id="delivery_red"> | ||
<field name="name">Grossiste industriel</field> | ||
<field name="type">delivery</field> | ||
<field name="color_code">#ff4000</field> | ||
</record> | ||
</odoo> |
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,174 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * beesdoo_product_label | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 12.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: beesdoo_product_label | ||
#: model:ir.model.fields,field_description:beesdoo_product_label.field_beesdoo_product_label__active | ||
msgid "Active" | ||
msgstr "" | ||
|
||
#. module: beesdoo_product_label | ||
#: model:ir.model.fields,field_description:beesdoo_product_label.field_beesdoo_product_label__color_code | ||
msgid "Color Code" | ||
msgstr "" | ||
|
||
#. module: beesdoo_product_label | ||
#: model:ir.model.fields,field_description:beesdoo_product_label.field_product_product__note | ||
#: model:ir.model.fields,field_description:beesdoo_product_label.field_product_template__note | ||
msgid "Comments" | ||
msgstr "" | ||
|
||
#. module: beesdoo_product_label | ||
#: model:ir.model.fields,field_description:beesdoo_product_label.field_beesdoo_product_label__create_uid | ||
msgid "Created by" | ||
msgstr "" | ||
|
||
#. module: beesdoo_product_label | ||
#: model:ir.model.fields,field_description:beesdoo_product_label.field_beesdoo_product_label__create_date | ||
msgid "Created on" | ||
msgstr "" | ||
|
||
#. module: beesdoo_product_label | ||
#: model:ir.model.fields,field_description:beesdoo_product_label.field_product_product__default_reference_unit | ||
#: model:ir.model.fields,field_description:beesdoo_product_label.field_product_template__default_reference_unit | ||
msgid "Default Reference Unit" | ||
msgstr "" | ||
|
||
#. module: beesdoo_product_label | ||
#: model:ir.model.fields,field_description:beesdoo_product_label.field_beesdoo_product_label__display_name | ||
msgid "Display Name" | ||
msgstr "" | ||
|
||
#. module: beesdoo_product_label | ||
#: model:ir.model.fields,field_description:beesdoo_product_label.field_product_product__display_unit | ||
#: model:ir.model.fields,field_description:beesdoo_product_label.field_product_template__display_unit | ||
msgid "Display Unit" | ||
msgstr "" | ||
|
||
#. module: beesdoo_product_label | ||
#: model:ir.model.fields,field_description:beesdoo_product_label.field_product_product__display_weight | ||
#: model:ir.model.fields,field_description:beesdoo_product_label.field_product_template__display_weight | ||
msgid "Display Weight" | ||
msgstr "" | ||
|
||
#. module: beesdoo_product_label | ||
#: selection:beesdoo.product.label,type:0 | ||
msgid "Distribution" | ||
msgstr "" | ||
|
||
#. module: beesdoo_product_label | ||
#: model:ir.model.fields,field_description:beesdoo_product_label.field_product_product__eco_label | ||
#: model:ir.model.fields,field_description:beesdoo_product_label.field_product_template__eco_label | ||
msgid "Eco Label" | ||
msgstr "" | ||
|
||
#. module: beesdoo_product_label | ||
#: model:ir.model.fields,field_description:beesdoo_product_label.field_product_product__fair_label | ||
#: model:ir.model.fields,field_description:beesdoo_product_label.field_product_template__fair_label | ||
msgid "Fair Label" | ||
msgstr "" | ||
|
||
#. module: beesdoo_product_label | ||
#: model:ir.model.fields,field_description:beesdoo_product_label.field_beesdoo_product_label__id | ||
msgid "ID" | ||
msgstr "" | ||
|
||
#. module: beesdoo_product_label | ||
#: model_terms:ir.ui.view,arch_db:beesdoo_product_label.product_view_form | ||
msgid "Label" | ||
msgstr "" | ||
|
||
#. module: beesdoo_product_label | ||
#: model:ir.ui.menu,name:beesdoo_product_label.label_configuration_menu | ||
msgid "Labels" | ||
msgstr "" | ||
|
||
#. module: beesdoo_product_label | ||
#: model:ir.model.fields,field_description:beesdoo_product_label.field_beesdoo_product_label____last_update | ||
msgid "Last Modified on" | ||
msgstr "" | ||
|
||
#. module: beesdoo_product_label | ||
#: model:ir.model.fields,field_description:beesdoo_product_label.field_beesdoo_product_label__write_uid | ||
msgid "Last Updated by" | ||
msgstr "" | ||
|
||
#. module: beesdoo_product_label | ||
#: model:ir.model.fields,field_description:beesdoo_product_label.field_beesdoo_product_label__write_date | ||
msgid "Last Updated on" | ||
msgstr "" | ||
|
||
#. module: beesdoo_product_label | ||
#: selection:beesdoo.product.label,type:0 | ||
msgid "Local" | ||
msgstr "" | ||
|
||
#. module: beesdoo_product_label | ||
#: model:ir.model.fields,field_description:beesdoo_product_label.field_product_product__local_label | ||
#: model:ir.model.fields,field_description:beesdoo_product_label.field_product_template__local_label | ||
msgid "Local Label" | ||
msgstr "" | ||
|
||
#. module: beesdoo_product_label | ||
#: model:ir.model.fields,field_description:beesdoo_product_label.field_beesdoo_product_label__logo | ||
msgid "Logo" | ||
msgstr "" | ||
|
||
#. module: beesdoo_product_label | ||
#: model:ir.model.fields,field_description:beesdoo_product_label.field_beesdoo_product_label__name | ||
msgid "Name" | ||
msgstr "" | ||
|
||
#. module: beesdoo_product_label | ||
#: model:ir.model.fields,field_description:beesdoo_product_label.field_product_product__origin_label | ||
#: model:ir.model.fields,field_description:beesdoo_product_label.field_product_template__origin_label | ||
msgid "Origin Label" | ||
msgstr "" | ||
|
||
#. module: beesdoo_product_label | ||
#: model:ir.actions.act_window,name:beesdoo_product_label.action_labels | ||
msgid "Product Labels" | ||
msgstr "" | ||
|
||
#. module: beesdoo_product_label | ||
#: model:ir.model,name:beesdoo_product_label.model_product_template | ||
msgid "Product Template" | ||
msgstr "" | ||
|
||
#. module: beesdoo_product_label | ||
#: code:addons/beesdoo_product_label/models/product_template.py:51 | ||
#, python-format | ||
msgid "Reference Unit and Display Unit should belong to the same category " | ||
msgstr "" | ||
|
||
#. module: beesdoo_product_label | ||
#: model:ir.model.fields,field_description:beesdoo_product_label.field_beesdoo_product_label__type | ||
msgid "Type" | ||
msgstr "" | ||
|
||
#. module: beesdoo_product_label | ||
#: model:ir.model,name:beesdoo_product_label.model_beesdoo_product_label | ||
msgid "beesdoo.product.label" | ||
msgstr "" | ||
|
||
#. module: beesdoo_product_label | ||
#: selection:beesdoo.product.label,type:0 | ||
msgid "Écologique" | ||
msgstr "" | ||
|
||
#. module: beesdoo_product_label | ||
#: selection:beesdoo.product.label,type:0 | ||
msgid "Équitable" | ||
msgstr "" | ||
|
Oops, something went wrong.