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

[18.0][MIG] product_multi_barcode: Migration to 18.0 #656

Open
wants to merge 45 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
e39ad73
[REF] product_multi_ean: Rename product_mult_ean to product_multi_bar…
kevinkhao Dec 7, 2020
9879ff2
[IMP] product_multi_barcode: split py files
jjscarafia Jun 15, 2021
4a03779
[IMP] product_multi_barcode: run pre-commit
jjscarafia Jun 15, 2021
44e10b4
[FIX] product_multi_barcode: installation hook
jjscarafia Jun 15, 2021
6a0fb05
[UPD] Update product_multi_barcode.pot
oca-travis Aug 3, 2021
2c29980
[UPD] README.rst
OCA-git-bot Aug 3, 2021
3096031
[IMP] product_multi_barcode: black, isort, prettier
kevinkhao Aug 3, 2021
1fbbdb2
[MIG] product_multi_barcode: Migration to 14.0
kevinkhao Aug 3, 2021
a589a12
[FIX] remove inverse_sudo
kevinkhao Aug 5, 2021
237a1da
[UPD] Update product_multi_barcode.pot
oca-travis Sep 1, 2021
00226fa
[UPD] README.rst
OCA-git-bot Sep 1, 2021
7eb613b
[FIX] product_multi_barcode: missing else on a condition
olgamarcocb Sep 14, 2021
5eac43a
product_multi_barcode 14.0.1.0.1
OCA-git-bot Mar 8, 2022
3b400d7
Translated using Weblate (Italian)
francesco-ooops May 25, 2022
347d3a7
[14.0][UPD] product_multi_barcode: Updated product variant easy edit …
ilyasProgrammer Jun 30, 2022
fce23a4
[UPD] Update product_multi_barcode.pot
Jul 7, 2022
36a7ac9
[UPD] README.rst
OCA-git-bot Jul 7, 2022
0b6a5f2
product_multi_barcode 14.0.1.1.0
OCA-git-bot Jul 7, 2022
9830220
Update translation files
oca-transbot Jul 8, 2022
bf816ff
[14.0][FIX] #416
ilyasProgrammer Jul 12, 2022
204044a
product_multi_barcode 14.0.1.1.1
OCA-git-bot Aug 16, 2022
73ec16c
product_multi_barcode: fix muti-company access right issue
sebastienbeau Feb 23, 2023
3139bd8
[MIG] product_multi_barcode: Migration to 15.0
vib-adhoc Sep 15, 2022
462c0d9
[MIG] product_multi_barcode: Migration to 16.0
StefanRijnhart Apr 4, 2023
093e9b1
[UPD] Update product_multi_barcode.pot
Apr 6, 2023
920c6cf
[UPD] README.rst
OCA-git-bot Apr 6, 2023
d4907bd
Update translation files
weblate Apr 6, 2023
e2e8990
Translated using Weblate (Slovenian)
sysadminmatmoz Apr 11, 2023
709394d
Translated using Weblate (Italian)
mymage Apr 18, 2023
1c0de54
Translated using Weblate (Italian)
mymage May 3, 2023
ccb270f
Translated using Weblate (Italian)
mymage May 8, 2023
86864a2
[UPD] README.rst
OCA-git-bot Sep 3, 2023
3174bad
Translated using Weblate (Spanish)
Ivorra78 Aug 27, 2023
d52ee3d
Update translation files
weblate Oct 9, 2023
8539fee
Translated using Weblate (French)
LESTRAT21 Nov 10, 2023
118fd72
Translated using Weblate (Italian)
mymage Nov 24, 2023
e7f7d3a
[ADD] product_multi_barcode_constraint_per_company
Apr 13, 2023
b578146
[UPD] Update product_multi_barcode.pot
Dec 20, 2023
36909de
[BOT] post-merge updates
OCA-git-bot Dec 20, 2023
36eb259
Update translation files
weblate Dec 20, 2023
183d0be
Translated using Weblate (Spanish)
Ivorra78 Dec 21, 2023
eb7263d
Translated using Weblate (Italian)
mymage Dec 22, 2023
27d1661
Translated using Weblate (Portuguese (Brazil))
May 29, 2024
ae4cf7b
[IMP] product_multi_barcode: pre-commit auto fixes
achulii Nov 18, 2024
17a024c
[MIG] product_multi_barcode: Migration to 18.0
achulii Nov 18, 2024
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
95 changes: 95 additions & 0 deletions product_multi_barcode/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
=============================
Multiple barcodes on products
=============================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:9ef01fd1fe41f2bceb16613c4a7d5ca731849f60e90f640626becbdd4d0511d2
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/18.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-18-0/stock-logistics-barcode-18-0-product_multi_barcode
: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/stock-logistics-barcode&target_branch=18.0
:alt: Try me on Runboat

|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 to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/stock-logistics-barcode/issues/new?body=module:%20product_multi_barcode%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
-------

* 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 <[email protected]>

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/18.0/product_multi_barcode>`_ 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_barcode/__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
27 changes: 27 additions & 0 deletions product_multi_barcode/__manifest__.py
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": "18.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",
}
15 changes: 15 additions & 0 deletions product_multi_barcode/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(env):
env.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"""
)
116 changes: 116 additions & 0 deletions product_multi_barcode/i18n/am.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
# 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_search_form_view_multi_barcodes
msgid "Barcodes"
msgstr ""

#. module: product_multi_barcode
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_barcode__company_id
msgid "Company"
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
msgid "Display Name"
msgstr ""

#. module: product_multi_barcode
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_barcode__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
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_template
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_barcode__product_id
msgid "Product"
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,name:product_multi_barcode.model_product_product
msgid "Product Variant"
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
#. odoo-python
#: code:addons/product_multi_barcode/models/product_barcode.py:0
#, python-format
msgid ""
"The Barcode \"%(barcode_name)s\" already exists for product "
"\"%(product_name)s\" in the company %(company_name)s"
msgstr ""
117 changes: 117 additions & 0 deletions product_multi_barcode/i18n/ar.po
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-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_search_form_view_multi_barcodes
msgid "Barcodes"
msgstr ""

#. module: product_multi_barcode
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_barcode__company_id
msgid "Company"
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
msgid "Display Name"
msgstr "اسم العرض"

#. module: product_multi_barcode
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_barcode__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
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_template
#: model:ir.model.fields,field_description:product_multi_barcode.field_product_barcode__product_id
msgid "Product"
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,name:product_multi_barcode.model_product_product
msgid "Product Variant"
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
#. odoo-python
#: code:addons/product_multi_barcode/models/product_barcode.py:0
#, python-format
msgid ""
"The Barcode \"%(barcode_name)s\" already exists for product "
"\"%(product_name)s\" in the company %(company_name)s"
msgstr ""
Loading
Loading