Stock Picking Compute Delivery Date
stock_picking_compute_delivery_date · OCA/stock-logistics-workflow
Health
55/100
fair
-
Security25/25No findings
-
Activity0/25Last human commit 101 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 4 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
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
7 migration notes
3 models
2 views
0 HTTP endpoints
Migration considerations
ComputeAllDeliveryDatesWizard— Class 'ComputeAllDeliveryDatesWizard' 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 · sourceComputeDeliveryDateByProductWizard— Class 'ComputeDeliveryDateByProductWizard' 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 · sourceStockPicking— Class 'StockPicking' 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 · sourcecron_compute_all_delivery_dates— Migrating to 18.0: `ir.cron` lost `numbercall`/`doall`: remove them from the record, data loading fails on unknown fields. migration-cron-numbercall · source- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) 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
- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) (5 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
Dependencies
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 |
|---|---|---|---|---|
compute_all_delivery_dates_form |
compute.all.delivery.dates.wizard | form | New | |
compute_delivery_date_by_product_form |
compute.delivery.date.by.product.wizard | form | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (0)
No new fields.
Public methods (1)-
do_compute(self, cr, uid, ids, context=None)Delegate the picking to compute delivery dates for all products. If use_new_cursor is in the context, pass it as a parameter.
New fields (0)
No new fields.
Public methods (1)-
do_compute(self, cr, uid, ids, context=None)
New fields (0)
No new fields.
Public methods (4)-
compute_all_delivery_dates(self, cr, uid, use_new_cursor=True, context=None)Loop on all products that have moves, and process them one by one. This can take a few seconds per product, so the transaction can be very long-lived and easily interrupted. To avoid that, we create a new cursor that is committed for every product. The use_new_cursor can be used in cases where multiple transactions are harmful, like for automated testing. -
compute_delivery_dates(self, product)@api.model -
compute_mto_delivery_dates(self, cr, uid, product, context=None) -
compute_mts_delivery_dates(self, cr, uid, product, context=None)
Loading…
Loading…
Loading…