Skip to content

Commit

Permalink
Merge PR #934 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by ivantodorovich
  • Loading branch information
OCA-git-bot committed Feb 28, 2023
2 parents 0fd9007 + 405fa93 commit 6f0a645
Show file tree
Hide file tree
Showing 15 changed files with 926 additions and 0 deletions.
79 changes: 79 additions & 0 deletions pos_lot_barcode/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
===============
POS Lot Barcode
===============

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/16.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-16-0/pos-16-0-pos_lot_barcode
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/184/16.0
:alt: Try me on Runbot

|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 smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/pos/issues/new?body=module:%20pos_lot_barcode%0Aversion:%2016.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>

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/16.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.
23 changes: 23 additions & 0 deletions pos_lot_barcode/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# 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": "16.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,
"depends": [
"point_of_sale",
],
"assets": {
"point_of_sale.assets": [
"pos_lot_barcode/static/src/js/**/*.js",
"pos_lot_barcode/static/src/xml/**/*.xml",
],
},
}
84 changes: 84 additions & 0 deletions pos_lot_barcode/i18n/pos_lot_barcode.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
# 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"
"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: pos_lot_barcode
#. openerp-web
#: code:addons/pos_lot_barcode/static/src/js/Popups/ErrorMultiLotBarcodePopup.js:0
#, python-format
msgid "Cancel"
msgstr ""

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

#. module: pos_lot_barcode
#. openerp-web
#: code:addons/pos_lot_barcode/static/src/js/Screens/ProductScreen.js:0
#, python-format
msgid ""
"Lot is not loaded. Tried loading the lot from the server but there is a "
"network error."
msgstr ""

#. module: pos_lot_barcode
#. openerp-web
#: code:addons/pos_lot_barcode/static/src/js/Popups/EditListPopup.js:0
#, python-format
msgid "Lot/Serial Number(s) Required"
msgstr ""

#. module: pos_lot_barcode
#. openerp-web
#: code:addons/pos_lot_barcode/static/src/xml/Popups/ErrorMultiLotBarcodePopup.xml:0
#, python-format
msgid "Multiple Products Matching Barcode"
msgstr ""

#. module: pos_lot_barcode
#. openerp-web
#: code:addons/pos_lot_barcode/static/src/js/Screens/ProductScreen.js:0
#, python-format
msgid "Network Error"
msgstr ""

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

#. module: pos_lot_barcode
#. openerp-web
#: code:addons/pos_lot_barcode/static/src/js/Popups/ErrorMultiLotBarcodePopup.js:0
#, python-format
msgid ""
"The Point of Sale can not process the scanned barcode, as it matches "
"multiple products:"
msgstr ""

#. module: pos_lot_barcode
#. openerp-web
#: code:addons/pos_lot_barcode/static/src/js/Screens/ProductScreen.js:0
#, python-format
msgid ""
"The Point of Sale could not find any product, lot, client, employee or "
"action associated with the scanned barcode."
msgstr ""
2 changes: 2 additions & 0 deletions pos_lot_barcode/readme/CONFIGURATION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
In the Point of Sale configuration, you should make sure you have a barcode rule of type 'Lot'
defined in the Barcode Nomenclature.
1 change: 1 addition & 0 deletions pos_lot_barcode/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* Akim Juillerat <akim.juillerat@camptocamp.com>
2 changes: 2 additions & 0 deletions pos_lot_barcode/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
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.
Binary file added pos_lot_barcode/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 6f0a645

Please sign in to comment.