Skip to content

Commit

Permalink
Merge PR #497 into 15.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Feb 17, 2023
2 parents 6aad064 + 8e7e8aa commit dffe522
Show file tree
Hide file tree
Showing 20 changed files with 1,065 additions and 1 deletion.
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

0 comments on commit dffe522

Please sign in to comment.