Barcode configuration Module
tr_barcode_config · OCA/stock-logistics-barcode
-
Security25/25No findings
-
Activityn/aNo commit data
-
Required by20/254 modules depend on it
-
Maturity25/25In 4 Odoo series since 6.1
Heuristic over the facts below, not an audit · How it's computed
License review
- tr_barcode_config (GPL-3 or any later version) depends on tr_barcode (AGPL-3): combined with its dependencies it must be distributed under AGPL-3, including offering the source to users of a hosted instance. LICENSE_EFFECTIVE_UPGRADE
Based on the manifest licenses of this module and everything it depends on: a heuristic to spot problems early, not legal advice. Methodology
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
tr_barcode_config— Class 'tr_barcode_config' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourcetr_barcode_config— Class 'tr_barcode_config' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcetr_barcode_config— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · sourceview_tr_barcode_config_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) migration-openerp-import · 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
Presentation:
This module adds a configuration object and barcode osv to manage the barcode. You should define your object like this to manage automatically the creation / edition of your barcode:
from tr_barcode_config.barcode import barcode_osv
class product_product(barcode_osv.barcode_osv): _inherit = 'product.product'
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- tr_barcode_on_picking, tr_barcode_on_prodlots, tr_barcode_on_product, tr_barcode_on_tracking
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 |
|---|---|---|---|---|
view_tr_barcode_config_form |
tr.barcode.config.form | tr.barcode.config | form | New |
view_tr_barcode_config_tree |
tr.barcode.config.tree | tr.barcode.config | tree | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…