Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[13.0][MIG] product_multi_ean #259

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
c0658de
[ADD] moved modules
nbessi Apr 24, 2012
edfe871
Migration stock-logistic-barcode
yvanpatry Feb 13, 2013
327be41
[REVIEW] - the product_multi_ean is still not installable
mathieuvatel Feb 14, 2013
70ac83f
[REF] bring the modules in this branch one step closer to current cod…
gurneyalex Feb 28, 2014
d580414
Migrate product_multi_ean for version 7.0. Made the migration script …
guewen Mar 6, 2014
ed5f045
'value not in ...' is more pythonic than 'not value in ...'
guewen Mar 6, 2014
58957e2
[UPD] port product_multi_ean to 8.0
rlizana Nov 20, 2015
e4dfb15
[IMP] product_multi_ean: Refactoring + code optimization
pedrobaeza Mar 15, 2016
5e58b05
OCA Transbot updated translations from Transifex
oca-transbot Mar 11, 2017
654e654
[MIG] product_multi_ean: Migration to 11.0
xavierjimenez Jun 11, 2018
51a0b56
[UPD] Update product_multi_ean.pot
oca-travis Jul 11, 2018
f17d28f
[11.0][FIX] product_multi_aen: error on search multiple product refer…
HviorForgeFlow May 13, 2019
3acd46c
[MIG] product_multi_ean: Migration to 12.0
HviorForgeFlow Jul 17, 2019
ceeb27d
[UPD] Update product_multi_ean.pot
oca-travis Aug 22, 2019
7bbd772
[UPD] README.rst
OCA-git-bot Aug 22, 2019
6b5d550
Translated using Weblate (Portuguese (Brazil))
Aug 30, 2019
d3f538d
Translated using Weblate (Chinese (Simplified))
liweijie0812 Oct 18, 2019
618346a
[IMP] product_multi_ean: Remove check EAN restrictions
sergio-teruel Sep 4, 2019
df837b2
[12.0][FIX] product_multi_ean:
JoanSForgeFlow Jan 8, 2020
5997beb
[UPD] Update product_multi_ean.pot
oca-travis Jan 8, 2020
b8173e9
product_multi_ean 12.0.1.0.1
OCA-git-bot Jan 8, 2020
08fcc4a
Update translation files
oca-transbot Jan 8, 2020
2f35aae
[IMP] product_multi_ean: black, isort
jimhoefnagels Mar 11, 2020
9dc3205
[MIG] product_multi_ean: Migration to 13.0
jimhoefnagels Mar 11, 2020
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
86 changes: 86 additions & 0 deletions product_multi_ean/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
==========================
Multiple EAN13 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/12.0/product_multi_ean
: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-12-0/stock-logistics-barcode-12-0-product_multi_ean
: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/12.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

It allows to have multiple EAN13 on products.

**Table of contents**

.. contents::
:local:

Usage
=====

A list of EAN13 is available for each product with a priority, so a main EAN13
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_ean%0Aversion:%2012.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

Contributors
~~~~~~~~~~~~

* Guewen Baconnier (Camptocamp)
* Roberto Lizana (Trey)
* Pedro M. Baeza
* Xavier Jimenez (QubiQ)
* Héctor Villarreal (Eficent)

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/12.0/product_multi_ean>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
4 changes: 4 additions & 0 deletions product_multi_ean/__init__.py
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
22 changes: 22 additions & 0 deletions product_multi_ean/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# © 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 EAN13 on products",
"version": "13.0.1.0.0",
"license": "AGPL-3",
"author": "Camptocamp, "
"Trey, "
"Tecnativa, "
"QubiQ, "
"Odoo Community Association (OCA)",
"category": "Product Management",
"depends": ["product"],
"website": "https://github.com/OCA/stock-logistics-barcode",
"data": ["views/product_view.xml", "security/ir.model.access.csv"],
"installable": True,
"post_init_hook": "post_init_hook",
}
15 changes: 15 additions & 0 deletions product_multi_ean/hooks.py
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_ean13
(product_id, name, sequence)
SELECT id, barcode, 0
FROM product_product
WHERE barcode IS NOT NULL"""
)
94 changes: 94 additions & 0 deletions product_multi_ean/i18n/am.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
# 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_ean
#: model:ir.model.fields,field_description:product_multi_ean.field_product_ean13__create_uid
msgid "Created by"
msgstr "Creado por"

#. module: product_multi_ean
#: model:ir.model.fields,field_description:product_multi_ean.field_product_ean13__create_date
msgid "Created on"
msgstr "Creado en"

#. module: product_multi_ean
#: model:ir.model.fields,field_description:product_multi_ean.field_product_ean13__display_name
msgid "Display Name"
msgstr ""

#. module: product_multi_ean
#: model:ir.model.fields,field_description:product_multi_ean.field_product_ean13__name
#: model:ir.model.fields,field_description:product_multi_ean.field_product_product__ean13_ids
#: model_terms:ir.ui.view,arch_db:product_multi_ean.product_normal_form_view_multi_ean13
#: model_terms:ir.ui.view,arch_db:product_multi_ean.product_search_form_view_multi_ean13
msgid "EAN13"
msgstr ""

#. module: product_multi_ean
#: model:ir.model.fields,field_description:product_multi_ean.field_product_ean13__id
msgid "ID"
msgstr "ID"

#. module: product_multi_ean
#: model:ir.model.fields,help:product_multi_ean.field_product_product__barcode
msgid "International Article Number used for product identification."
msgstr ""

#. module: product_multi_ean
#: model:ir.model.fields,field_description:product_multi_ean.field_product_ean13____last_update
msgid "Last Modified on"
msgstr ""

#. module: product_multi_ean
#: model:ir.model.fields,field_description:product_multi_ean.field_product_ean13__write_uid
msgid "Last Updated by"
msgstr "Última actualización por"

#. module: product_multi_ean
#: model:ir.model.fields,field_description:product_multi_ean.field_product_ean13__write_date
msgid "Last Updated on"
msgstr "Última actualización en"

#. module: product_multi_ean
#: model:ir.model,name:product_multi_ean.model_product_ean13
msgid "List of EAN13 for a product."
msgstr ""

#. module: product_multi_ean
#: model:ir.model.fields,field_description:product_multi_ean.field_product_product__barcode
msgid "Main EAN13"
msgstr ""

#. module: product_multi_ean
#: model:ir.model,name:product_multi_ean.model_product_product
#: model:ir.model.fields,field_description:product_multi_ean.field_product_ean13__product_id
msgid "Product"
msgstr ""

#. module: product_multi_ean
#: model:ir.model.fields,field_description:product_multi_ean.field_product_ean13__sequence
msgid "Sequence"
msgstr ""

#. module: product_multi_ean
#: code:addons/product_multi_ean/models/product_product.py:39
#, python-format
msgid "The EAN13 Barcode \"%s\" already exists for product \"%s\""
msgstr ""
95 changes: 95 additions & 0 deletions product_multi_ean/i18n/ar.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
# 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_ean
#: model:ir.model.fields,field_description:product_multi_ean.field_product_ean13__create_uid
msgid "Created by"
msgstr "أنشئ بواسطة"

#. module: product_multi_ean
#: model:ir.model.fields,field_description:product_multi_ean.field_product_ean13__create_date
msgid "Created on"
msgstr "أنشئ في"

#. module: product_multi_ean
#: model:ir.model.fields,field_description:product_multi_ean.field_product_ean13__display_name
msgid "Display Name"
msgstr "اسم العرض"

#. module: product_multi_ean
#: model:ir.model.fields,field_description:product_multi_ean.field_product_ean13__name
#: model:ir.model.fields,field_description:product_multi_ean.field_product_product__ean13_ids
#: model_terms:ir.ui.view,arch_db:product_multi_ean.product_normal_form_view_multi_ean13
#: model_terms:ir.ui.view,arch_db:product_multi_ean.product_search_form_view_multi_ean13
msgid "EAN13"
msgstr ""

#. module: product_multi_ean
#: model:ir.model.fields,field_description:product_multi_ean.field_product_ean13__id
msgid "ID"
msgstr "المعرف"

#. module: product_multi_ean
#: model:ir.model.fields,help:product_multi_ean.field_product_product__barcode
msgid "International Article Number used for product identification."
msgstr ""

#. module: product_multi_ean
#: model:ir.model.fields,field_description:product_multi_ean.field_product_ean13____last_update
msgid "Last Modified on"
msgstr "آخر تعديل في"

#. module: product_multi_ean
#: model:ir.model.fields,field_description:product_multi_ean.field_product_ean13__write_uid
msgid "Last Updated by"
msgstr "آخر تحديث بواسطة"

#. module: product_multi_ean
#: model:ir.model.fields,field_description:product_multi_ean.field_product_ean13__write_date
msgid "Last Updated on"
msgstr "آخر تحديث في"

#. module: product_multi_ean
#: model:ir.model,name:product_multi_ean.model_product_ean13
msgid "List of EAN13 for a product."
msgstr ""

#. module: product_multi_ean
#: model:ir.model.fields,field_description:product_multi_ean.field_product_product__barcode
msgid "Main EAN13"
msgstr ""

#. module: product_multi_ean
#: model:ir.model,name:product_multi_ean.model_product_product
#: model:ir.model.fields,field_description:product_multi_ean.field_product_ean13__product_id
msgid "Product"
msgstr ""

#. module: product_multi_ean
#: model:ir.model.fields,field_description:product_multi_ean.field_product_ean13__sequence
msgid "Sequence"
msgstr "المسلسل"

#. module: product_multi_ean
#: code:addons/product_multi_ean/models/product_product.py:39
#, python-format
msgid "The EAN13 Barcode \"%s\" already exists for product \"%s\""
msgstr ""
Loading