Stock tracking add or remove object
stock_tracking_add_remove · OCA/stock-logistics-tracking
-
Security22/251 minor finding
-
Activity0/25Last human commit 122 months ago
-
Required by15/251 module depends on it
-
Maturity25/25In 4 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
stock_packaging_add_type— Class 'stock_packaging_add_type' 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. (3 occurrences in this file) migration-old-api-base · sourcestock_packaging_add_type— Class 'stock_packaging_add_type' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. (5 occurrences in this file) migration-old-style-fields · sourcestock_packaging_remove— Class 'stock_packaging_remove' 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. (2 occurrences in this file) migration-old-api-base · sourcestock_packaging_remove— Class 'stock_packaging_remove' 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 · sourcestock_tracking— Class 'stock_tracking' 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 · sourcestock_tracking_history— Class 'stock_tracking_history' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceview_stock_packaging_add_wizard— 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 · sourceview_stock_packaging_remove_wizard— 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 · sourceview_tracking_history_form_inherit— 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 · sourceview_tracking_history_tree_inherit— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · source- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) (3 occurrences in this file) migration-openerp-import · source
- Since 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
- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) (3 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 add a wizard to fill in packaging. It will also add a wizard to remove pieces from a pack This wizard is used to add or remove an object from a package. Adding to the historical movements and parent objects
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 6
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_stock_packaging_add_line_wizard |
Stock packaging add line | stock.packaging.add.line | form | New |
view_stock_packaging_add_wizard |
Stock packaging add | stock.packaging.add | form | New |
view_stock_packaging_remove_wizard |
Stock packaging remove | stock.packaging.remove | form | New |
view_tracking_form_add_product |
stock.tracking.form.inherit | stock.tracking | form | Inherits stock_tracking_extended.view_tracking_extended_form |
view_tracking_history_form_inherit |
stock.tracking.history.form | stock.tracking.history | form | Inherits stock_tracking_extended.view_tracking_history_form |
view_tracking_history_tree_inherit |
stock.tracking.history.tree | stock.tracking.history | tree | Inherits stock_tracking_extended.view_tracking_history_tree |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 6
No new fields.
Public methods (2)-
add_object(self, cr, uid, ids, context=None) -
onchange_type_id(self, cr, uid, ids, type_id)
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (2)-
onchange_type_id(self, cr, uid, ids, type_id, pack_id) -
remove_object(self, cr, uid, ids, context=None)
No new fields.
Public methods (3)-
onchange_pack_id(self, cr, uid, ids, pack_id, context=None) -
onchange_prodlot_id(self, cr, uid, ids, prodlot_id, pack_id, context=None) -
onchange_product_id(self, cr, uid, ids, product_id, pack_id, context=None)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…