Skip to main content
Odoo Community Association

Generate Barcodes for Products

Beta License: AGPL-3 OCA/stock-logistics-barcode Translate me on Weblate Try me on Runboat

This module expands Odoo functionality, allowing user to generate barcode depending on a given barcode rule for Products.

For example, a typical pattern for products is “20…..{NNNDD}” that means that:

  • the EAN13 code will begin by ‘20’

  • followed by 5 digits (named Barcode Base in this module)

  • and after 5 others digits to define the variable price

  • a 13 digit control

Another common pattern is “8012345…..” which means that:

  • the EAN13 code will begin with ‘8012345’

  • followed by 5 digits (named Barcode Base in this module)

  • and finally the 13th digit is the control digit

Note that a dot is not necessary in the pattern as the control digit is added automatically.

With this module, it is possible to:

  • Assign a pattern (barcode.rule) to a product.product

  • Define a Barcode base:

    • manually, if the base of the barcode must be set by a user. (typically an internal code defined in your company)

    • automaticaly by a sequence, if you want to let Odoo to increment a sequence. (typical case of a customer number incrementation)

  • Generate a barcode, based on the defined pattern and the barcode base

Table of contents

Configuration

To configure this module, see the ‘Configuration’ Section of the description of the module ‘barcodes_generator_abstract’

To manage the barcode rule and the barcode base on products you need to include your user on “Generate Barcodes” group.

Usage

To use this module, you need to:

  • Go to a Product form (or a template form):

1 for manual generation

  • Set a Barcode Rule

  • Set a Barcode Base

  • click on the button ‘Generate Barcode (Using Barcode Rule)’

image

2 for automatic generation

  • Set a Barcode Rule

  • click on the button ‘Generate Base (Using Sequence)’

  • click on the button ‘Generate Barcode (Using Barcode Rule)’

Bug Tracker

Bugs are tracked on GitHub 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.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • GRAP

  • La Louve

Contributors

Other credits

Images

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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.

Current maintainer:

legalsylvain

This module is part of the OCA/stock-logistics-barcode project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Metadata

Release files for odoo-addon-barcodes-generator-product 19.0.1.0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo-addon-barcodes-generator-product 19.0.1.0.0.2
File Interpreter ABI Platform Actions
odoo_addon_barcodes_generator_product-19.0.1.0.0.2-py3-none-any.whl Python 3 none any Details for odoo_addon_barcodes_generator_product-19.0.1.0.0.2-py3-none-any.whl

Release files / odoo_addon_barcodes_generator_product-19.0.1.0.0.2-py3-none-any.whl

Download URL odoo_addon_barcodes_generator_product-19.0.1.0.0.2-py3-none-any.whl
Size 174.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
67d682d8840c53d4d70d8c1d2a6d9c38acdfbccb908e38cf97490aa191200ceb
BLAKE2b-256 checksum
How to use checksums
32d7b1cea25e86d0072572e7f683b8779b6f112c3b9bf315dd92cb914da06434
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for odoo-addon-barcodes-generator-product 19.0.1.0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page