forked from OCA/stock-logistics-barcode
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge commit 'refs/pull/434/head' of https://github.com/oca/stock-log…
…istics-barcode into 15.0-1410
- Loading branch information
Showing
87 changed files
with
8,897 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,93 @@ | ||
============================= | ||
Multiple barcodes on products | ||
============================= | ||
|
||
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! 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%2Fstock--logistics--barcode-lightgray.png?logo=github | ||
:target: https://github.com/OCA/stock-logistics-barcode/tree/14.0/product_multi_barcode | ||
:alt: OCA/stock-logistics-barcode | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/stock-logistics-barcode-14-0/stock-logistics-barcode-14-0-product_multi_barcode | ||
:alt: Translate me on Weblate | ||
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png | ||
:target: https://runbot.odoo-community.org/runbot/150/14.0 | ||
:alt: Try me on Runbot | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
This module allows you to define multiple barcodes on products. | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Usage | ||
===== | ||
|
||
A list of barcodes is available for each product with a priority, so a main barcode | ||
code is defined. | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/stock-logistics-barcode/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/stock-logistics-barcode/issues/new?body=module:%20product_multi_barcode%0Aversion:%2014.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 | ||
* Trey | ||
* Tecnativa | ||
* QubiQ | ||
* ADHOC SA | ||
|
||
Contributors | ||
~~~~~~~~~~~~ | ||
|
||
* Guewen Baconnier (Camptocamp) | ||
* Roberto Lizana (Trey) | ||
* Pedro M. Baeza | ||
* Xavier Jimenez (QubiQ) | ||
* Héctor Villarreal (Eficent) | ||
* Sébastien Beau (Akretion) | ||
* Kevin Khao (Akretion) | ||
|
||
* Ooops404 <https://ooops404.com> | ||
|
||
* Ilyas <irazor147@gmail.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. | ||
|
||
This module is part of the `OCA/stock-logistics-barcode <https://github.com/OCA/stock-logistics-barcode/tree/14.0/product_multi_barcode>`_ 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,4 @@ | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
|
||
from . import models | ||
from .hooks import post_init_hook |
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,27 @@ | ||
# © 2012-2014 Guewen Baconnier (Camptocamp SA) | ||
# © 2015 Roberto Lizana (Trey) | ||
# © 2016 Pedro M. Baeza | ||
# © 2018 Xavier Jimenez (QubiQ) | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
|
||
{ | ||
"name": "Multiple barcodes on products", | ||
"version": "15.0.1.0.0", | ||
"license": "AGPL-3", | ||
"author": "Camptocamp, " | ||
"Trey, " | ||
"Tecnativa, " | ||
"QubiQ, " | ||
"ADHOC SA, " | ||
"Odoo Community Association (OCA)", | ||
"category": "Product Management", | ||
"depends": ["product"], | ||
"website": "https://github.com/OCA/stock-logistics-barcode", | ||
"data": [ | ||
"views/product_view.xml", | ||
"views/product_template_view.xml", | ||
"security/ir.model.access.csv", | ||
], | ||
"installable": True, | ||
"post_init_hook": "post_init_hook", | ||
} |
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,15 @@ | ||
# © 2015 Roberto Lizana (Trey) | ||
# © 2016 Pedro M. Baeza | ||
# © 2018 Xavier Jimenez (QubiQ) | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
|
||
|
||
def post_init_hook(cr, registry): | ||
cr.execute( | ||
""" | ||
INSERT INTO product_barcode | ||
(product_id, product_tmpl_id, name, sequence) | ||
SELECT id, product_tmpl_id, barcode, 0 | ||
FROM product_product | ||
WHERE barcode IS NOT NULL""" | ||
) |
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,117 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * product_multi_ean | ||
# | ||
# Translators: | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: stock-logistics-barcode (8.0)\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2016-08-15 23:13+0000\n" | ||
"PO-Revision-Date: 2016-04-28 13:01+0000\n" | ||
"Last-Translator: <>\n" | ||
"Language-Team: Amharic (http://www.transifex.com/oca/OCA-stock-logistics-" | ||
"barcode-8-0/language/am/)\n" | ||
"Language: am\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" | ||
|
||
#. module: product_multi_barcode | ||
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_barcode__name | ||
msgid "Barcode" | ||
msgstr "" | ||
|
||
#. module: product_multi_barcode | ||
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_product__barcode_ids | ||
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_template__barcode_ids | ||
#: model_terms:ir.ui.view,arch_db:product_multi_barcode.product_normal_form_view_multi_barcodes | ||
#: model_terms:ir.ui.view,arch_db:product_multi_barcode.product_search_form_view_multi_barcodes | ||
#: model_terms:ir.ui.view,arch_db:product_multi_barcode.product_template_form_view_multi_barcode | ||
#: model_terms:ir.ui.view,arch_db:product_multi_barcode.product_variant_easy_edit_view_multi_barcodes | ||
msgid "Barcodes" | ||
msgstr "" | ||
|
||
#. module: product_multi_barcode | ||
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_barcode__create_uid | ||
msgid "Created by" | ||
msgstr "Creado por" | ||
|
||
#. module: product_multi_barcode | ||
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_barcode__create_date | ||
msgid "Created on" | ||
msgstr "Creado en" | ||
|
||
#. module: product_multi_barcode | ||
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_barcode__display_name | ||
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_product__display_name | ||
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_template__display_name | ||
msgid "Display Name" | ||
msgstr "" | ||
|
||
#. module: product_multi_barcode | ||
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_barcode__id | ||
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_product__id | ||
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_template__id | ||
msgid "ID" | ||
msgstr "ID" | ||
|
||
#. module: product_multi_barcode | ||
#: model:ir.model,name:product_multi_barcode.model_product_barcode | ||
msgid "Individual item in a product's barcode list" | ||
msgstr "" | ||
|
||
#. module: product_multi_barcode | ||
#: model:ir.model.fields,help:product_multi_barcode.field_product_product__barcode | ||
msgid "International Article Number used for product identification." | ||
msgstr "" | ||
|
||
#. module: product_multi_barcode | ||
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_barcode____last_update | ||
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_product____last_update | ||
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_template____last_update | ||
msgid "Last Modified on" | ||
msgstr "" | ||
|
||
#. module: product_multi_barcode | ||
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_barcode__write_uid | ||
msgid "Last Updated by" | ||
msgstr "Última actualización por" | ||
|
||
#. module: product_multi_barcode | ||
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_barcode__write_date | ||
msgid "Last Updated on" | ||
msgstr "Última actualización en" | ||
|
||
#. module: product_multi_barcode | ||
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_product__barcode | ||
msgid "Main barcode" | ||
msgstr "" | ||
|
||
#. module: product_multi_barcode | ||
#: model:ir.model,name:product_multi_barcode.model_product_product | ||
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_barcode__product_id | ||
msgid "Product" | ||
msgstr "" | ||
|
||
#. module: product_multi_barcode | ||
#: model:ir.model,name:product_multi_barcode.model_product_template | ||
msgid "Product Template" | ||
msgstr "" | ||
|
||
#. module: product_multi_barcode | ||
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_barcode__product_tmpl_id | ||
msgid "Product Tmpl" | ||
msgstr "" | ||
|
||
#. module: product_multi_barcode | ||
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_barcode__sequence | ||
msgid "Sequence" | ||
msgstr "" | ||
|
||
#. module: product_multi_barcode | ||
#: code:addons/product_multi_barcode/models/product_barcode.py:0 | ||
#, python-format | ||
msgid "The Barcode \"%s\" already exists for product \"%s\"" | ||
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,118 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * product_multi_ean | ||
# | ||
# Translators: | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: stock-logistics-barcode (8.0)\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2016-09-18 10:53+0000\n" | ||
"PO-Revision-Date: 2016-04-28 13:01+0000\n" | ||
"Last-Translator: <>\n" | ||
"Language-Team: Arabic (http://www.transifex.com/oca/OCA-stock-logistics-" | ||
"barcode-8-0/language/ar/)\n" | ||
"Language: ar\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " | ||
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" | ||
|
||
#. module: product_multi_barcode | ||
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_barcode__name | ||
msgid "Barcode" | ||
msgstr "" | ||
|
||
#. module: product_multi_barcode | ||
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_product__barcode_ids | ||
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_template__barcode_ids | ||
#: model_terms:ir.ui.view,arch_db:product_multi_barcode.product_normal_form_view_multi_barcodes | ||
#: model_terms:ir.ui.view,arch_db:product_multi_barcode.product_search_form_view_multi_barcodes | ||
#: model_terms:ir.ui.view,arch_db:product_multi_barcode.product_template_form_view_multi_barcode | ||
#: model_terms:ir.ui.view,arch_db:product_multi_barcode.product_variant_easy_edit_view_multi_barcodes | ||
msgid "Barcodes" | ||
msgstr "" | ||
|
||
#. module: product_multi_barcode | ||
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_barcode__create_uid | ||
msgid "Created by" | ||
msgstr "أنشئ بواسطة" | ||
|
||
#. module: product_multi_barcode | ||
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_barcode__create_date | ||
msgid "Created on" | ||
msgstr "أنشئ في" | ||
|
||
#. module: product_multi_barcode | ||
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_barcode__display_name | ||
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_product__display_name | ||
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_template__display_name | ||
msgid "Display Name" | ||
msgstr "اسم العرض" | ||
|
||
#. module: product_multi_barcode | ||
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_barcode__id | ||
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_product__id | ||
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_template__id | ||
msgid "ID" | ||
msgstr "المعرف" | ||
|
||
#. module: product_multi_barcode | ||
#: model:ir.model,name:product_multi_barcode.model_product_barcode | ||
msgid "Individual item in a product's barcode list" | ||
msgstr "" | ||
|
||
#. module: product_multi_barcode | ||
#: model:ir.model.fields,help:product_multi_barcode.field_product_product__barcode | ||
msgid "International Article Number used for product identification." | ||
msgstr "" | ||
|
||
#. module: product_multi_barcode | ||
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_barcode____last_update | ||
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_product____last_update | ||
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_template____last_update | ||
msgid "Last Modified on" | ||
msgstr "آخر تعديل في" | ||
|
||
#. module: product_multi_barcode | ||
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_barcode__write_uid | ||
msgid "Last Updated by" | ||
msgstr "آخر تحديث بواسطة" | ||
|
||
#. module: product_multi_barcode | ||
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_barcode__write_date | ||
msgid "Last Updated on" | ||
msgstr "آخر تحديث في" | ||
|
||
#. module: product_multi_barcode | ||
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_product__barcode | ||
msgid "Main barcode" | ||
msgstr "" | ||
|
||
#. module: product_multi_barcode | ||
#: model:ir.model,name:product_multi_barcode.model_product_product | ||
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_barcode__product_id | ||
msgid "Product" | ||
msgstr "" | ||
|
||
#. module: product_multi_barcode | ||
#: model:ir.model,name:product_multi_barcode.model_product_template | ||
msgid "Product Template" | ||
msgstr "" | ||
|
||
#. module: product_multi_barcode | ||
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_barcode__product_tmpl_id | ||
msgid "Product Tmpl" | ||
msgstr "" | ||
|
||
#. module: product_multi_barcode | ||
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_barcode__sequence | ||
msgid "Sequence" | ||
msgstr "المسلسل" | ||
|
||
#. module: product_multi_barcode | ||
#: code:addons/product_multi_barcode/models/product_barcode.py:0 | ||
#, python-format | ||
msgid "The Barcode \"%s\" already exists for product \"%s\"" | ||
msgstr "" |
Oops, something went wrong.