Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
114 changes: 114 additions & 0 deletions barcode_stock_product_multi_barcode/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

===================================
Barcode Stock Product Multi Barcode
===================================

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

.. |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/license-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%2Fbarcode--interface-lightgray.png?logo=github
:target: https://github.com/OCA/barcode-interface/tree/18.0/barcode_stock_product_multi_barcode
:alt: OCA/barcode-interface
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/barcode-interface-18-0/barcode-interface-18-0-barcode_stock_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/barcode-interface&target_branch=18.0
:alt: Try me on Runboat

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

This module is the bridge between **multiple product barcodes** and the
**warehouse app**: it makes every barcode a product carries resolve to
the same move inside a picking.

``product_multi_barcode`` lets a product hold several barcodes (its main
one plus alternates). ``barcode_stock`` only indexes the main barcode
and the packagings, so scanning an alternate barcode inside a picking is
rejected even though the product is on the move. This module loads the
alternate barcodes of the products in the current picking and indexes
them, so a scan of any of them matches the same move.

It installs itself as soon as both ``barcode_stock`` and
``product_multi_barcode`` are installed, and neither needs the other
without it.

**Table of contents**

.. contents::
:local:

Usage
=====

Install ``barcode_stock`` and ``product_multi_barcode``. The module
installs itself automatically.

Give a product several barcodes through ``product_multi_barcode``.
Inside the warehouse app, scanning any of them in a picking now resolves
to the same move as the main barcode.

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

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

* Binhex

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

- Binhex

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.

.. |maintainer-antoniodavid| image:: https://github.com/antoniodavid.png?size=40px
:target: https://github.com/antoniodavid
:alt: antoniodavid
.. |maintainer-szalatyzuzanna| image:: https://github.com/szalatyzuzanna.png?size=40px
:target: https://github.com/szalatyzuzanna
:alt: szalatyzuzanna

Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-antoniodavid| |maintainer-szalatyzuzanna|

This module is part of the `OCA/barcode-interface <https://github.com/OCA/barcode-interface/tree/18.0/barcode_stock_product_multi_barcode>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 2 additions & 0 deletions barcode_stock_product_multi_barcode/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Copyright 2026 Binhex
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
24 changes: 24 additions & 0 deletions barcode_stock_product_multi_barcode/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name": "Barcode Stock Product Multi Barcode",
"version": "18.0.1.0.0",
"category": "Inventory/Logistics",
"summary": "Recognize alternate product barcodes in the warehouse app",
"author": "Binhex, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/barcode-interface",
"maintainers": ["antoniodavid", "szalatyzuzanna"],
"license": "AGPL-3",
"depends": [
"barcode_stock",
"product_multi_barcode",
],
"assets": {
"web.assets_backend": [
"barcode_stock_product_multi_barcode/static/src/js/product_multi_barcode.esm.js",
],
"web.assets_unit_tests": [
"barcode_stock_product_multi_barcode/static/tests/**/*",
],
},
"installable": True,
"auto_install": True,
}
3 changes: 3 additions & 0 deletions barcode_stock_product_multi_barcode/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
1 change: 1 addition & 0 deletions barcode_stock_product_multi_barcode/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* Binhex
13 changes: 13 additions & 0 deletions barcode_stock_product_multi_barcode/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
This module is the bridge between **multiple product barcodes** and the
**warehouse app**: it makes every barcode a product carries resolve to the same
move inside a picking.

`product_multi_barcode` lets a product hold several barcodes (its main one plus
alternates). `barcode_stock` only indexes the main barcode and the packagings,
so scanning an alternate barcode inside a picking is rejected even though the
product is on the move. This module loads the alternate barcodes of the products
in the current picking and indexes them, so a scan of any of them matches the
same move.

It installs itself as soon as both ``barcode_stock`` and
``product_multi_barcode`` are installed, and neither needs the other without it.
6 changes: 6 additions & 0 deletions barcode_stock_product_multi_barcode/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Install ``barcode_stock`` and ``product_multi_barcode``. The module installs
itself automatically.

Give a product several barcodes through ``product_multi_barcode``. Inside the
warehouse app, scanning any of them in a picking now resolves to the same move
as the main barcode.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading