Multiple barcodes on products
product_multi_barcode · OCA/stock-logistics-barcode
Health
80/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 2 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 7 Odoo series since 13.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.37 MB
Module directory on disk
Code analysis
1 migration note
3 models
4 views
0 HTTP endpoints
Migration considerations
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `INSERT INTO product_barcode (product_id, product_tmpl_id, name, sequence) SELECT id, product_tmpl_id, barcode, 0 FROM product_product WHERE barcode IS NOT NULL` - re-check the table/column names still match after upgrading. migration-raw-sql-write · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
This module allows you to define multiple barcodes on products.
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_normal_form_view_multi_barcodes |
product.product | form | Inherits product.product_normal_form_view | |
product_search_form_view_multi_barcodes |
product.product | form | Inherits product.product_search_form_view | |
product_template_form_view_multi_barcode |
product.template.form.multi.barcode | product.template | form | Inherits product.product_template_only_form_view |
product_variant_easy_edit_view_multi_barcodes |
product.product | Inherits product.product_variant_easy_edit_view |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (5)
-
company_idMany2one → res.companycomodel_name='res.company'readonly=Truerelated='product_id.company_id' -
nameCharindex='trigram'required=Truestring='Barcode' -
product_idMany2one → product.productcomodel_name='product.product'compute='_compute_product'ondelete='cascade'readonly=Falsestore=Truestring='Product' -
product_tmpl_idMany2one → product.templatecomodel_name='product.template'compute='_compute_product_tmpl'ondelete='cascade'readonly=Falsestore=True -
sequenceIntegerdefault=0
No public methods.
New fields (2)
-
barcodeCharcompute='_compute_barcode'compute_sudo=Trueinverse='_inverse_barcode'store=Truestring='Main barcode' -
barcode_idsOne2many → product.barcodebypass_search_access=Truecomodel_name='product.barcode'inverse_name='product_id'string='Barcodes'
No public methods.
New fields (1)
-
barcode_idsOne2many → product.barcodecomodel_name='product.barcode'inverse_name='product_tmpl_id'string='Barcodes'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…