TIP: You can type at any time to perform a new search.
Lead Time Range - Sale
sale_lead_time_range · OCA/sale-workflow
Security findings
Migration considerations
view_product_template_inherit— For a target of Odoo 17.0+: view 'view_product_template_inherit' uses `attrs=`/`states=`, which are no longer supported. Convert modifiers to direct Python boolean expressions in `invisible`/`readonly`/`required`; preserve the original AND/OR logic. migration-view-attrs-states · source- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE product_template SET sale_delay_range_value = sale_delay` - re-check the table/column names still match after upgrading. migration-raw-sql-write · source
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE sale_order_line SET customer_lead_range_value = customer_lead` - re-check the table/column names still match after upgrading. migration-raw-sql-write · 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
- 1.0.0
- Category
- Sales
- Folder size
- 0.04 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/sale-workflow
- Last tracking update
- 2026-08-07 07:56:58
- Authors
- Odoo Community Association (OCA), ForgeFlow
- Maintainers
- Odoo Community Association (OCA), ForgeFlow
- Committers
- ArnauCForgeFlow, OCA-git-bot, oca-ci
Code Analysis
Views touched (2)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_product_template_inherit |
product.template.inherit | product.template | form | Inherits product.product_template_form_view |
view_sale_order_line_inherited_form |
sale.order.line.inherited.form | sale.order | form | Inherits sale.view_order_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (2)
-
sale_delay_range_typeSelectiondefault='days'inverse='_inverse_sale_delay_range_value'string='Range type' args: [('days', 'Days'), ('weeks', 'Weeks'), ('months', 'Months'), ('years', 'Years')] -
sale_delay_range_valueFloathelp="Delivery lead time. It's the time, promised to the customer, between the confirmation of the sales order and the delivery."inverse='_inverse_sale_delay_range_value'store=True args: 'Customer Lead Time'
No public methods.
New fields (2)
-
customer_lead_range_typeSelectiondefault='days'inverse='_inverse_customer_lead_range_value'string='LT Range' args: [('days', 'Days'), ('weeks', 'Weeks'), ('months', 'Months'), ('years', 'Years')] -
customer_lead_range_valueFloatdefault=0help='Time between the order confirmation and the shipping of the products to the customer'inverse='_inverse_customer_lead_range_value' args: 'Lead Time'
No public methods.