TIP: You can type at any time to perform a new search.
Sale delivery terms
sale_delivery_term · OCA/sale-workflow
Security findings
Migration considerations
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.tools.translate` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.addons.decimal_precision` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
sale_delivery_term— Class 'sale_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. migration-old-api-base · sourcesale_delivery_term— Class 'sale_delivery_term' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcesale_delivery_term— Class 'sale_delivery_term' declares `_defaults` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcesale_delivery_term_line— Class 'sale_delivery_term_line' 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 · sourcesale_delivery_term_line— Class 'sale_delivery_term_line' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcesale_order— Class 'sale_order' 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 · sourcesale_order— Class 'sale_order' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcesale_order_line— Class 'sale_order_line' 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 · sourcesale_order_line— Class 'sale_order_line' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcesale_order_line_master— Class 'sale_order_line_master' 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 · sourcesale_order_line_master— Class 'sale_order_line_master' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcesale_order_line_master— Class 'sale_order_line_master' declares `_defaults` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcesale_order_line_master_tree— View 'sale_order_line_master_tree' is defined with a `<tree>` root tag: renamed to `<list>` in Odoo 18.0. migration-view-tree-tag · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- Repository
- OCA/sale-workflow · module folder · Try on Runboat
- Module version
- 0.1
- Category
- Sales Management
- Folder size
- 0.02 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/sale-workflow
- Last tracking update
- 2026-08-07 07:17:43
- Authors
- Odoo Community Association (OCA), Agile Business Group
- Maintainers
- Odoo Community Association (OCA), Agile Business Group
- Committers
- Pedro M. Baeza, Denis Roussel
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
Delivery term for sale 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 'sale_multi_picking' module).
Code Analysis
Views touched (4)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
sale_delivery_term_form |
sale.delivery.term.form | sale.delivery.term | form | New |
sale_order_line_master_form |
sale_order_line_master_form | sale.order.line.master | form | New |
sale_order_line_master_tree |
sale_order_line_master_tree | sale.order.line.master | tree | New |
view_order_form |
sale.order.form | sale.order | form | Inherits sale.view_order_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (5)
New fields (0)
No new fields.
Public methods (1)-
is_total_percentage_correct(self, cr, uid, term_ids, context=None)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (3)-
action_wait(self, cr, uid, ids, context=None) -
copy(self, cr, uid, id, default=None, context=None) -
generate_detailed_lines(self, cr, uid, ids, context=None)
New fields (0)
No new fields.
Public methods (1)-
copy_data(self, cr, uid, id, default=None, context=None)
New fields (0)
No new fields.
Public methods (6)-
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) -
product_id_change(self, cr, uid, ids, pricelist, product, qty=0, uom=False, qty_uos=0, uos=False, name='', partner_id=False, lang=False, update_tax=True, date_order=False, packaging=False, fiscal_position=False, flag=False, context=None) -
product_packaging_change(self, cr, uid, ids, pricelist, product, qty=0, uom=False, partner_id=False, packaging=False, flag=False, context=None) -
product_uom_change(self, cursor, user, ids, pricelist, product, qty=0, uom=False, qty_uos=0, uos=False, name='', partner_id=False, lang=False, update_tax=True, date_order=False, context=None)
Loading…
Loading…
Loading…