Purchase delivery terms
purchase_delivery_term · OCA/purchase-workflow
-
Security25/25No findings
-
Activity0/25Last human commit 122 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
Migration considerations
purchase_delivery_term— Class 'purchase_delivery_term' 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. (5 occurrences in this file) migration-old-api-base · sourcepurchase_delivery_term— Class 'purchase_delivery_term' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. (7 occurrences in this file) migration-old-style-fields · sourcepurchase_order_line_master_tree— 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`) (4 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
Delivery term for purchase orders. You can configure delivery terms specifying the quantity percentage and the delay for every term line. You can then associate the term to the 'main' order line and generate the 'detailed' order lines which in turn will generate several pickings according to delivery term (thanks to 'purchase_multi_picking' module).
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
purchase_delivery_term_form |
purchase.delivery.term.form | purchase.delivery.term | form | New |
purchase_order_form |
purchase.order.form | purchase.order | form | Inherits purchase.purchase_order_form |
purchase_order_line_master_form |
purchase_order_line_master_form | purchase.order.line.master | form | New |
purchase_order_line_master_tree |
purchase_order_line_master_tree | purchase.order.line.master | tree | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
No new fields.
Public methods (1)-
is_total_percentage_correct(self, cr, uid, term_ids, context=None)
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (3)-
copy(self, cr, uid, id, default=None, context=None) -
generate_detailed_lines(self, cr, uid, ids, context=None) -
wkf_approve_order(self, cr, uid, ids, context=None)
No new fields.
Public methods (1)-
copy_data(self, cr, uid, id, default=None, context=None)
No new fields.
Public methods (5)-
check_master_line_total(self, cr, uid, ids, context=None) -
copy_data(self, cr, uid, id, default=None, context=None) -
generate_detailed_lines(self, cr, uid, ids, context=None) -
onchange_product_id(self, cr, uid, ids, pricelist_id, product_id, qty, uom_id, partner_id, date_order=False, fiscal_position_id=False, date_planned=False, name=False, price_unit=False, context=None) -
onchange_product_uom(self, cr, uid, ids, pricelist_id, product_id, qty, uom_id, partner_id, date_order=False, fiscal_position_id=False, date_planned=False, name=False, price_unit=False, context=None)
Loading…
Loading…
Loading…