TR Barcode
tr_barcode · OCA/stock-logistics-barcode
Health
89/100
good
-
Security22/251 minor finding
-
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
Required by
4
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
1.43 MB
Module directory on disk
Code analysis
11 migration notes
4 models
5 views
0 HTTP endpoints
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
ir_model— Class 'ir_model' 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. (2 occurrences in this file) migration-old-api-base · sourceir_model— Class 'ir_model' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. (4 occurrences in this file) migration-old-style-fields · sourcetr_barcode_installer— Class 'tr_barcode_installer' still inherits from the old-style `orm.TransientModel` 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_installer— Class 'tr_barcode_installer' 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_wizard— Class 'tr_barcode_wizard' still inherits from the old-style `orm.TransientModel` 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_wizard— Class 'tr_barcode_wizard' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. (2 occurrences in this file) migration-old-style-fields · sourceview_tr_barcode_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
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) (2 occurrences in this file) 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 the menu Barcode used to generate and configuration barcodes.
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- barcode_link, stock_tracking_add_move, tr_barcode_config, tr_barcode_field
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 5
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_tr_barcode_configuration |
tr barcode settings | tr.barcode.settings | form | New |
view_tr_barcode_form |
tr.barcode.tree | tr.barcode | form | New |
view_tr_barcode_installer |
tr_barcode.installer.view | tr_barcode.installer | Inherits base.res_config_installer | |
view_tr_barcode_tree |
tr.barcode.form | tr.barcode | tree | New |
view_tr_barcode_wizard |
Barcode | tr.barcode.wizard | form | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (3)-
create(self, cr, uid, vals, context=None)create method -
install(self, cr, uid, ids, context=None) -
update_field(self, cr, uid, vals, context=None)
New fields (0)
No new fields.
Public methods (2)-
create_barcode_record(self, cr, uid, ids, context=None)creating record with model and res id -
open_existing(self, cr, uid, ids, context=None)function will open existing report
New fields (0)
No new fields.
Public methods (1)-
create(self, cr, uid, vals, context=None)create method
Loading…
Loading…
Loading…