Multiple EAN13 on products
product_multi_ean · OCA/stock-logistics-barcode
Health
65/100
fair
-
Security25/25No findings
-
Activity0/25Last human commit 75 months ago
-
Required by15/251 module depends on it
-
Maturity25/25In 7 Odoo series since 6.1
Heuristic over the facts below, not an audit · How it's computed
Required by
1
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.24 MB
Module directory on disk
Code analysis
2 migration notes
2 models
2 views
0 HTTP endpoints
Migration considerations
ProductEan13— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) (2 occurrences in this file) migration-api-multi-one · source- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `INSERT INTO product_ean13 (product_id, name, sequence) SELECT 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
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- pos_multi_ean
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_normal_form_view_multi_ean13 |
product.normal.form.multi.ean13 | product.product | form | Inherits product.product_normal_form_view |
product_search_form_view_multi_ean13 |
product.product.search.multi.ean13 | product.product | search | Inherits product.product_search_form_view |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (3)
-
nameCharrequired=Truesize=13string='EAN13' -
product_idMany2one → product.productcomodel_name='product.product'required=Truestring='Product' -
sequenceIntegerdefault=0string='Sequence'
No public methods.
New fields (2)
-
barcodeCharcompute='_compute_barcode'compute_sudo=Trueinverse='_inverse_barcode'inverse_sudo=Truestore=Truestring='Main EAN13' -
ean13_idsOne2many → product.ean13comodel_name='product.ean13'inverse_name='product_id'string='EAN13'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…