Skip to content

[18.0][MIG] pos_lot_barcode: Migration to 18.0. #1337

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

Merged
merged 28 commits into from
Apr 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
39184a0
Add module pos_lot_barcode
grindtildeath Aug 9, 2022
dec71d3
[UPD] Update pos_lot_barcode.pot
Oct 19, 2022
40641e3
[UPD] README.rst
OCA-git-bot Oct 19, 2022
279f988
[ADD] icon.png
OCA-git-bot Oct 19, 2022
0d74615
[MIG] pos_lot_barcode: Migration to 16.0
yankinmax Feb 27, 2023
84cf02b
[UPD] Update pos_lot_barcode.pot
Feb 28, 2023
b8bb078
Added translation using Weblate (Spanish)
lbpatri Mar 2, 2023
59d97ab
Translated using Weblate (Spanish)
lbpatri Mar 2, 2023
aab7636
Added translation using Weblate (Italian)
mymage Mar 9, 2023
5e7fc35
Translated using Weblate (Italian)
mymage Mar 9, 2023
c0b3506
[UPD] README.rst
OCA-git-bot Sep 3, 2023
e31ffdd
[IMP] pos_lot_barcode: pre-commit auto fixes
nguyenminhchien Nov 29, 2023
eae60df
[MIG] pos_lot_barcode: Migration to 17.0
nguyenminhchien Nov 29, 2023
9a786e1
[UPD] Update pos_lot_barcode.pot
Jan 26, 2024
ccbfa90
[BOT] post-merge updates
OCA-git-bot Jan 26, 2024
22b6046
Update translation files
weblate Feb 3, 2024
0b7c14b
Added translation using Weblate (French)
cvinh Feb 4, 2024
d91f090
Translated using Weblate (French)
cvinh Feb 4, 2024
8260a09
Translated using Weblate (Italian)
mymage Feb 4, 2024
17840d1
Translated using Weblate (Spanish)
Ivorra78 Feb 11, 2024
ab964ea
[FIX] pos_lot_barcode: Use new logic for testing
etobella Apr 21, 2024
2b6b30f
[BOT] post-merge updates
OCA-git-bot Apr 21, 2024
59b1c99
Translated using Weblate (French)
cvinh May 5, 2024
b1f5dcf
[FIX] pos_lot_barcode: fix testcase
chaule97 Aug 23, 2024
f15cff7
[BOT] post-merge updates
OCA-git-bot Sep 18, 2024
93fbcb2
[IMP] pos_lot_barcode: pre-commit auto fixes
BhaveshHeliconia Mar 18, 2025
1bbcaf5
[MIG] pos_lot_barcode: Migration to 18.0
BhaveshHeliconia Mar 18, 2025
4d5ff61
[FIX] pos_lot_barcode: fix the tests
Kimkhoi3010 Apr 1, 2025
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
87 changes: 87 additions & 0 deletions pos_lot_barcode/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
===============
POS Lot Barcode
===============

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

.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
:target: https://odoo-community.org/page/development-status
:alt: Alpha
.. |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%2Fpos-lightgray.png?logo=github
:target: https://github.com/OCA/pos/tree/18.0/pos_lot_barcode
:alt: OCA/pos
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/pos-18-0/pos-18-0-pos_lot_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/pos&target_branch=18.0
:alt: Try me on Runboat

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

This module extends the point of sale functionalities to allow scanning
a lot/serial number using a barcode reader instead of having to enter it
manually.

.. IMPORTANT::
This is an alpha version, the data model and design can change at any time without warning.
Only for development or testing purpose, do not use in production.
`More details on development status <https://odoo-community.org/page/development-status>`_

**Table of contents**

.. contents::
:local:

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/pos/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/pos/issues/new?body=module:%20pos_lot_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

Contributors
------------

- Akim Juillerat <akim.juillerat@camptocamp.com>
- Nguyen Minh Chien <chien@trobz.com>
- `Heliconia Solutions Pvt. Ltd. <https://www.heliconia.io>`__

- Bhavesh Heliconia

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/pos <https://github.com/OCA/pos/tree/18.0/pos_lot_barcode>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Empty file added pos_lot_barcode/__init__.py
Empty file.
28 changes: 28 additions & 0 deletions pos_lot_barcode/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Copyright 2022 Camptocamp SA
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl)
{
"name": "POS Lot Barcode",
"summary": "Scan barcode to enter lot/serial numbers",
"version": "18.0.1.0.0",
"development_status": "Alpha",
"category": "Sales/Point of Sale",
"website": "https://github.com/OCA/pos",
"author": "Camptocamp, Odoo Community Association (OCA)",
"license": "AGPL-3",
"application": False,
"installable": True,
"data": [
"security/ir.model.access.csv",
],
"depends": [
"point_of_sale",
],
"assets": {
"point_of_sale._assets_pos": [
"pos_lot_barcode/static/src/js/**/*",
],
"web.assets_tests": [
"pos_lot_barcode/static/tests/tours/**/*",
],
},
}
88 changes: 88 additions & 0 deletions pos_lot_barcode/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * pos_lot_barcode
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-02-11 13:34+0000\n"
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
"Language-Team: none\n"
"Language: es\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.17\n"

#. module: pos_lot_barcode
#. odoo-javascript
#: code:addons/pos_lot_barcode/static/src/js/Popups/ErrorMultiLotBarcodePopup.esm.js:0
#, python-format
msgid "Cancel"
msgstr "Cancelar"

#. module: pos_lot_barcode
#. odoo-javascript
#: code:addons/pos_lot_barcode/static/src/js/Popups/ErrorMultiLotBarcodePopup.esm.js:0
#, python-format
msgid "Error"
msgstr "Error"

#. module: pos_lot_barcode
#. odoo-javascript
#: code:addons/pos_lot_barcode/static/src/js/Popups/EditListPopup.esm.js:0
#, python-format
msgid "Lot/Serial Number(s) Required"
msgstr "Lote/Número(s) de serie requerido"

#. module: pos_lot_barcode
#. odoo-javascript
#: code:addons/pos_lot_barcode/static/src/xml/Popups/ErrorMultiLotBarcodePopup.xml:0
#, python-format
msgid "Multiple Products Matching Barcode:"
msgstr "Múltiples Productos que Coinciden con el Código de Barras:"

#. module: pos_lot_barcode
#. odoo-javascript
#: code:addons/pos_lot_barcode/static/src/js/Popups/ErrorMultiLotBarcodePopup.esm.js:0
#: code:addons/pos_lot_barcode/static/src/xml/Popups/ErrorMultiLotBarcodePopup.xml:0
#, python-format
msgid "Ok"
msgstr "Aceptar"

#. module: pos_lot_barcode
#. odoo-javascript
#: code:addons/pos_lot_barcode/static/src/js/Popups/ErrorMultiLotBarcodePopup.esm.js:0
#, python-format
msgid ""
"The Point of Sale can not process the scanned barcode, as it matches "
"multiple products:"
msgstr ""
"El punto de venta no puede procesar el código de barras escaneado, ya que "
"coincide con múltiples productos:"

#, python-format
#~ msgid ""
#~ "Lot is not loaded. Tried loading the lot from the server but there is a "
#~ "network error."
#~ msgstr ""
#~ "El lote no está cargado. Intente cargar el lote desde el servidor pero "
#~ "hay un error de conexión."

#, python-format
#~ msgid "Multiple Products Matching Barcode"
#~ msgstr "Múltiples códigos de barras de productos coincidentes"

#, python-format
#~ msgid "Network Error"
#~ msgstr "Error de conexión"

#, python-format
#~ msgid ""
#~ "The Point of Sale could not find any product, lot, client, employee or "
#~ "action associated with the scanned barcode."
#~ msgstr ""
#~ "El punto de venta no encuentra ningún producto, lote, cliente, empleado o "
#~ "acción asociada con el código de barras escaneado."
64 changes: 64 additions & 0 deletions pos_lot_barcode/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * pos_lot_barcode
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-05-05 07:20+0000\n"
"Last-Translator: Cyril VINH-TUNG <cyril@invitu.com>\n"
"Language-Team: none\n"
"Language: fr\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.17\n"

#. module: pos_lot_barcode
#. odoo-javascript
#: code:addons/pos_lot_barcode/static/src/js/Popups/ErrorMultiLotBarcodePopup.esm.js:0
#, python-format
msgid "Cancel"
msgstr "Annuler"

#. module: pos_lot_barcode
#. odoo-javascript
#: code:addons/pos_lot_barcode/static/src/js/Popups/ErrorMultiLotBarcodePopup.esm.js:0
#, python-format
msgid "Error"
msgstr "Erreur"

#. module: pos_lot_barcode
#. odoo-javascript
#: code:addons/pos_lot_barcode/static/src/js/Popups/EditListPopup.esm.js:0
#, python-format
msgid "Lot/Serial Number(s) Required"
msgstr "Lot/Numéro(s) de série requis"

#. module: pos_lot_barcode
#. odoo-javascript
#: code:addons/pos_lot_barcode/static/src/xml/Popups/ErrorMultiLotBarcodePopup.xml:0
#, python-format
msgid "Multiple Products Matching Barcode:"
msgstr "Plusieurs produits correspondant au code barre :"

#. module: pos_lot_barcode
#. odoo-javascript
#: code:addons/pos_lot_barcode/static/src/js/Popups/ErrorMultiLotBarcodePopup.esm.js:0
#: code:addons/pos_lot_barcode/static/src/xml/Popups/ErrorMultiLotBarcodePopup.xml:0
#, python-format
msgid "Ok"
msgstr "Ok"

#. module: pos_lot_barcode
#. odoo-javascript
#: code:addons/pos_lot_barcode/static/src/js/Popups/ErrorMultiLotBarcodePopup.esm.js:0
#, python-format
msgid ""
"The Point of Sale can not process the scanned barcode, as it matches "
"multiple products:"
msgstr ""
"Le point de vente ne peut pas traiter le code barre scanné car il correspond "
"à plusieurs produits :"
88 changes: 88 additions & 0 deletions pos_lot_barcode/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * pos_lot_barcode
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-02-04 13:37+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: none\n"
"Language: it\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.17\n"

#. module: pos_lot_barcode
#. odoo-javascript
#: code:addons/pos_lot_barcode/static/src/js/Popups/ErrorMultiLotBarcodePopup.esm.js:0
#, python-format
msgid "Cancel"
msgstr "Annulla"

#. module: pos_lot_barcode
#. odoo-javascript
#: code:addons/pos_lot_barcode/static/src/js/Popups/ErrorMultiLotBarcodePopup.esm.js:0
#, python-format
msgid "Error"
msgstr "Errore"

#. module: pos_lot_barcode
#. odoo-javascript
#: code:addons/pos_lot_barcode/static/src/js/Popups/EditListPopup.esm.js:0
#, python-format
msgid "Lot/Serial Number(s) Required"
msgstr "Richiesto lotto/numero(i) di serie"

#. module: pos_lot_barcode
#. odoo-javascript
#: code:addons/pos_lot_barcode/static/src/xml/Popups/ErrorMultiLotBarcodePopup.xml:0
#, python-format
msgid "Multiple Products Matching Barcode:"
msgstr "Prodotti multipli corrispondono al codice a barre:"

#. module: pos_lot_barcode
#. odoo-javascript
#: code:addons/pos_lot_barcode/static/src/js/Popups/ErrorMultiLotBarcodePopup.esm.js:0
#: code:addons/pos_lot_barcode/static/src/xml/Popups/ErrorMultiLotBarcodePopup.xml:0
#, python-format
msgid "Ok"
msgstr "Ok"

#. module: pos_lot_barcode
#. odoo-javascript
#: code:addons/pos_lot_barcode/static/src/js/Popups/ErrorMultiLotBarcodePopup.esm.js:0
#, python-format
msgid ""
"The Point of Sale can not process the scanned barcode, as it matches "
"multiple products:"
msgstr ""
"Il punto vendita non riesce ad elaborare il codice a barre letto perché "
"corrisponde a più prodotti:"

#, python-format
#~ msgid ""
#~ "Lot is not loaded. Tried loading the lot from the server but there is a "
#~ "network error."
#~ msgstr ""
#~ "Il lotto non è caricato. Errore di connessione nel tentativo di caricare "
#~ "il lotto dal server."

#, python-format
#~ msgid "Multiple Products Matching Barcode"
#~ msgstr "Codice a barre corrispondente a prodotti multipli"

#, python-format
#~ msgid "Network Error"
#~ msgstr "Errore di rete"

#, python-format
#~ msgid ""
#~ "The Point of Sale could not find any product, lot, client, employee or "
#~ "action associated with the scanned barcode."
#~ msgstr ""
#~ "Il punto vendita non trova alcun prodotto, lotto, cliente, dipendente o "
#~ "azione associata al codice a barre letto."
Loading