Stock Routes Transit
stock_route_transit · OCA/stock-logistics-transport
Health
63/100
fair
-
Security25/25No findings
-
Activity0/25Last human commit 122 months ago
-
Required by20/254 modules depend on it
-
Maturity18/25In 3 Odoo series since 8.0
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
0.05 MB
Module directory on disk
Code analysis
6 migration notes
2 models
2 views
0 HTTP endpoints
Migration considerations
StockPickingType— Class 'StockPickingType' 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 · sourceStockPickingType— Class 'StockPickingType' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceStockWarehouse— Class 'StockWarehouse' 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 · sourceStockWarehouse— Class 'StockWarehouse' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · source- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (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`) 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
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- framework_agreement_sourcing_stock_route_transit, logistic_order_donation_transit, sale_quotation_sourcing_stock_route_transit, stock_shipment_management
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_picking_type_form |
Picking Types | stock.picking.type | form | Inherits stock.view_picking_type_form |
view_warehouse |
stock.warehouse | Inherits stock.view_warehouse |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (5)-
change_route(self, cr, uid, ids, warehouse, new_reception_step=False, new_delivery_step=False, context=None)change input_loc, output_loc update active fiels on picking_types update location_dest (resp. src) of in (resp. out) picking type remove all routes of the WH and recreate them -
create(self, cr, uid, vals, context=None) -
create_sequences_and_picking_types(self, cr, uid, warehouse, context=None) -
get_routes_dict(self, cr, uid, ids, warehouse, context=None)return a dict of routes. Keys are the possible reception/delivery steps, values are tuples of 2 elements: 1. the name of the route 2. a list of 0, 1 or 2 tuples of (from_loc, dest_loc, pick_type_id), giving the different steps of the route. The list is processed by `_get_push_pull_rules`. -
switch_location(self, cr, uid, ids, warehouse, new_reception_step=False, new_delivery_step=False, context=None)set unused locations to active=False
Loading…
Loading…