Multi barcode from supplier pricelist
product_multi_barcode_supplierinfo · OCA/stock-logistics-barcode
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 45 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 14.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.04 MB
Module directory on disk
Code analysis
2 migration notes
2 models
1 view
0 HTTP endpoints
Migration considerations
product_template_form_view_multi_barcode— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE product_supplierinfo SET old_barcode = barcode WHERE barcode is not NULL` - re-check the table/column names still match after upgrading. (2 occurrences in this file) 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
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_template_form_view_multi_barcode |
product.template.form.multi.barcode | product.template | form | Inherits product_multi_barcode.product_template_form_view_multi_barcode |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (2)
-
product_variant_countIntegerrelated='product_tmpl_id.product_variant_count' args: 'Variant Count' -
supplier_idMany2one → res.partnercomodel_name='res.partner'readonly=True
No public methods.
New fields (2)
-
barcodeCharcompute='_compute_barcode_name'inverse='_inverse_barcode_field'readonly=Falsestore=True -
barcode_idMany2one → product.barcodecomodel_name='product.barcode'
-
check_barcode(self)@api.constrains('barcode') -
unlink(self) -
unlink_product_barcode(self)