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

[15.0][MIG] stock_barcodes_gs1: Migration to version 15.0 #497

Merged
merged 19 commits into from
Feb 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
673f3ed
[ADD] stock_barcodes_gs1: Add support to stock_barcodes module to rea…
oca-travis Aug 7, 2019
7d4a52d
Sometimes the product does not yet have a GTIN. In this case
JordiBForgeFlow Nov 14, 2019
6e83db0
[UPD] Update stock_barcodes_gs1.pot
oca-travis Nov 25, 2019
ee2f588
stock_barcodes_gs1 11.0.1.0.1
OCA-git-bot Nov 25, 2019
0406318
Update translation files
oca-transbot Nov 25, 2019
447c7db
[MIG] stock_barcodes_gs1: Migration to 12.0
JoanSForgeFlow Dec 17, 2019
f65d16d
[IMP] stock_barcodes_gs1: black, isort
sergio-teruel Feb 13, 2020
d5fb638
[MIG] stock_barcodes_gs1: Migration to v13.0
sergio-teruel Feb 13, 2020
72f7e68
[FIX] stock_barcodes_gs1: Continue reading barcode if can not read it…
sergio-teruel Jul 31, 2020
eda8374
[FIX] stock_barcodes_gs1: Pass argument to super
pedrobaeza Jul 31, 2020
65ce7d4
[IMP] stock_barcodes_gs1: Allow the use of double GS1-128 barcodes
etobella Sep 21, 2020
5c4683e
[FIX] stock_barcodes_gs1
etobella Jun 2, 2021
8ad5b87
[IMP] stock_barcodes_gs1: black, isort, prettier
JasminSForgeFlow Feb 16, 2022
a2da250
[MIG] stock_barcodes_gs1: Migration to 14.0
JasminSForgeFlow Feb 16, 2022
d4bca0e
[FIX] stock_barcodes_gs1: take company from env
LoisRForgeFlow Mar 15, 2022
c8fccdb
[IMP] stock_barcodes: Refactoring code and improvements
sergio-teruel Oct 27, 2021
e136213
[IMP] stock_barcodes_gs1: improvements after refactor of stock_barcodes
LoisRForgeFlow Jul 7, 2022
17673c3
[FIX] stock_barcodes_gs1: Do action_confirm after gs1 is readed inste…
sergio-teruel Aug 5, 2022
8e7e8aa
[MIG] stock_barcodes_gs1: Migration to v15.0
sergio-teruel Feb 16, 2023
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
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import logging

import barcode
import barcode # pylint: disable=W7936

from odoo import _, api, exceptions, fields, models

Expand Down
1 change: 1 addition & 0 deletions setup/stock_barcodes_gs1/odoo/addons/stock_barcodes_gs1
6 changes: 6 additions & 0 deletions setup/stock_barcodes_gs1/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
85 changes: 85 additions & 0 deletions stock_barcodes_gs1/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
==================
Stock Barcodes GS1
==================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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/15.0/stock_barcodes_gs1
: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-15-0/stock-logistics-barcode-15-0-stock_barcodes_gs1
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/webui/builds.html?repo=OCA/stock-logistics-barcode&target_branch=15.0
:alt: Try me on Runboat

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

This module extends barcode reader interface to allow to read GS1 barcodes.

The AI's implemented are 01(Group), 02(Product), 37(Quantity) and 10(Lots).

**Table of contents**

.. contents::
:local:

Usage
=====

Read usage section from stock_barcodes module.

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:%20stock_barcodes_gs1%0Aversion:%2015.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
~~~~~~~

* Tecnativa

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


* `Tecnativa <https://www.tecnativa.com>`_:

* Sergio Teruel
* Carlos Dauden
* Pedro M. Baeza

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/15.0/stock_barcodes_gs1>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions stock_barcodes_gs1/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Copyright 2019 Sergio Teruel <[email protected]>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from . import wizard
13 changes: 13 additions & 0 deletions stock_barcodes_gs1/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Copyright 2019 Sergio Teruel <[email protected]>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Stock Barcodes GS1",
"summary": "It provides read GS1 barcode on stock operations.",
"version": "15.0.1.0.0",
"author": "Tecnativa, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/stock-logistics-barcode",
"license": "AGPL-3",
"category": "Extra Tools",
"depends": ["stock_barcodes", "base_gs1_barcode"],
"installable": True,
}
51 changes: 51 additions & 0 deletions stock_barcodes_gs1/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_barcodes_gs1
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2021-05-11 12:47+0000\n"
"Last-Translator: Haftec <[email protected]>\n"
"Language-Team: none\n"
"Language: ca\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: stock_barcodes_gs1
#: code:addons/stock_barcodes_gs1/wizard/stock_barcodes_read.py:0
#, python-format
msgid "Barcode for product not found"
msgstr "No s'ha trobat el codi de barres del producte"

#. module: stock_barcodes_gs1
#: code:addons/stock_barcodes_gs1/wizard/stock_barcodes_read.py:0
#, python-format
msgid "Barcode for product packaging not found"
msgstr "No s'ha trobat el codi de barres per a l'empaquetat del producte"

#. module: stock_barcodes_gs1
#: code:addons/stock_barcodes_gs1/wizard/stock_barcodes_read.py:0
#, python-format
msgid "Barcode read correctly"
msgstr "Codi de barres llegit correctament"

#. module: stock_barcodes_gs1
#: code:addons/stock_barcodes_gs1/wizard/stock_barcodes_read.py:0
#, python-format
msgid "More than one package found"
msgstr "S'ha trobat més d'un empaquetat"

#. module: stock_barcodes_gs1
#: model:ir.model,name:stock_barcodes_gs1.model_wiz_stock_barcodes_new_lot
msgid "Wizard to create new lot from barcode scanner"
msgstr "Assistent per crear un lot nou des de l'escàner de codis de barres"

#. module: stock_barcodes_gs1
#: model:ir.model,name:stock_barcodes_gs1.model_wiz_stock_barcodes_read
msgid "Wizard to read barcode"
msgstr "Assistent per llegir codi de barres"
58 changes: 58 additions & 0 deletions stock_barcodes_gs1/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_barcodes_gs1
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-08-27 14:47+0000\n"
"PO-Revision-Date: 2021-05-11 12:47+0000\n"
"Last-Translator: Haftec <[email protected]>\n"
"Language-Team: \n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.3.2\n"

#. module: stock_barcodes_gs1
#: code:addons/stock_barcodes_gs1/wizard/stock_barcodes_read.py:0
#, python-format
msgid "Barcode for product not found"
msgstr "Código de barras no encontrado"

#. module: stock_barcodes_gs1
#: code:addons/stock_barcodes_gs1/wizard/stock_barcodes_read.py:0
#, python-format
msgid "Barcode for product packaging not found"
msgstr "Código de barras de empaquetado no encontrado"

#. module: stock_barcodes_gs1
#: code:addons/stock_barcodes_gs1/wizard/stock_barcodes_read.py:0
#, python-format
msgid "Barcode read correctly"
msgstr "Código de barras leído correctamente"

#. module: stock_barcodes_gs1
#: code:addons/stock_barcodes_gs1/wizard/stock_barcodes_read.py:0
#, python-format
msgid "More than one package found"
msgstr "Se ha encontrado más de un empaquetado"

#. module: stock_barcodes_gs1
#: model:ir.model,name:stock_barcodes_gs1.model_wiz_stock_barcodes_new_lot
msgid "Wizard to create new lot from barcode scanner"
msgstr "Asistente para crear nuevo lote desde el lector de códigos de barras"

#. module: stock_barcodes_gs1
#: model:ir.model,name:stock_barcodes_gs1.model_wiz_stock_barcodes_read
msgid "Wizard to read barcode"
msgstr "Asistente para leer código de barras"

#~ msgid "Barcode not found"
#~ msgstr "Código de barras no encontrado"

#~ msgid "More than one product found"
#~ msgstr "Se ha encontrado más de un producto."
66 changes: 66 additions & 0 deletions stock_barcodes_gs1/i18n/stock_barcodes_gs1.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_barcodes_gs1
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.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: stock_barcodes_gs1
#: code:addons/stock_barcodes_gs1/wizard/stock_barcodes_read.py:0
#, python-format
msgid "Barcode for product not found"
msgstr ""

#. module: stock_barcodes_gs1
#: code:addons/stock_barcodes_gs1/wizard/stock_barcodes_read.py:0
#, python-format
msgid "Barcode for product packaging not found"
msgstr ""

#. module: stock_barcodes_gs1
#: code:addons/stock_barcodes_gs1/wizard/stock_barcodes_read.py:0
#, python-format
msgid "Barcode read correctly"
msgstr ""

#. module: stock_barcodes_gs1
#: model:ir.model.fields,field_description:stock_barcodes_gs1.field_wiz_stock_barcodes_new_lot__display_name
#: model:ir.model.fields,field_description:stock_barcodes_gs1.field_wiz_stock_barcodes_read__display_name
msgid "Display Name"
msgstr ""

#. module: stock_barcodes_gs1
#: model:ir.model.fields,field_description:stock_barcodes_gs1.field_wiz_stock_barcodes_new_lot__id
#: model:ir.model.fields,field_description:stock_barcodes_gs1.field_wiz_stock_barcodes_read__id
msgid "ID"
msgstr ""

#. module: stock_barcodes_gs1
#: model:ir.model.fields,field_description:stock_barcodes_gs1.field_wiz_stock_barcodes_new_lot____last_update
#: model:ir.model.fields,field_description:stock_barcodes_gs1.field_wiz_stock_barcodes_read____last_update
msgid "Last Modified on"
msgstr ""

#. module: stock_barcodes_gs1
#: code:addons/stock_barcodes_gs1/wizard/stock_barcodes_read.py:0
#, python-format
msgid "More than one package found"
msgstr ""

#. module: stock_barcodes_gs1
#: model:ir.model,name:stock_barcodes_gs1.model_wiz_stock_barcodes_new_lot
msgid "Wizard to create new lot from barcode scanner"
msgstr ""

#. module: stock_barcodes_gs1
#: model:ir.model,name:stock_barcodes_gs1.model_wiz_stock_barcodes_read
msgid "Wizard to read barcode"
msgstr ""
6 changes: 6 additions & 0 deletions stock_barcodes_gs1/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

* `Tecnativa <https://www.tecnativa.com>`_:

* Sergio Teruel
* Carlos Dauden
* Pedro M. Baeza
3 changes: 3 additions & 0 deletions stock_barcodes_gs1/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
This module extends barcode reader interface to allow to read GS1 barcodes.

The AI's implemented are 01(Group), 02(Product), 37(Quantity) and 10(Lots).
1 change: 1 addition & 0 deletions stock_barcodes_gs1/readme/USAGE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Read usage section from stock_barcodes module.
Binary file added stock_barcodes_gs1/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading