Repository
OCA/stock-logistics-barcode · module folder · Try on Runboat
Module version
1.0.1
Category
Tools
Folder size
0.13 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/stock-logistics-barcode
Last tracking update
2026-08-07 08:23:02
Authors
Odoo Community Association (OCA), LasLabs
Maintainers
Odoo Community Association (OCA), LasLabs
Committers
sygel, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
python-barcode
System dependencies
None
Required by
None
Description
This module expands Odoo functionality, allowing user to generate
barcode depending on a given barcode rule for Stock Locations.

For example, a typical pattern for partners is "042........." that means
that: \* the EAN13 code will begin by '042' \* followed by 0 digits
(named Barcode Base in this module) \* a 13 digit control

With this module, it is possible to:

- Assign a pattern (barcode.rule) to a stock.location

- 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)
  - automatically 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

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_location_form stock.location form Inherits stock.view_location_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (1)
  • generate_model Selection
    selection_add=[('stock.location', 'Stock Location')]
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • get_view(self, view_id=None, view_type='form', **options)
    @api.model
    The redefinition of this method is intended to manipulating the form view of stock.location to add the barcode field to the view in case it has not been added by the stock_barcodes module.

Loading…

Loading…

Loading…

Loading…

Loading…