Sale Stock Partner Delivery Window
Sale Stock Partner Delivery Window
This module extends Sales and Inventory to respect the customer’s delivery schedule preferences when computing delivery dates.
When a Sales Order line computes its expected delivery date, the module checks the customer’s Delivery schedule preference and automatically adjusts the date to the next valid delivery slot.
Supported delivery preferences include:
- Anytime Deliveries can occur at any date and time.
- Workdays only Deliveries are automatically postponed to the next weekday if the computed date falls on a weekend.
- Configured delivery time windows Deliveries are restricted to specific weekdays and time ranges defined on the customer record. If the computed expected date does not match an allowed window, the module selects the next available delivery slot.
Additional features:
- Delivery windows are evaluated in the customer’s timezone.
- The adjusted expected date is propagated to generated delivery orders.
- A warning is displayed on the Sales Order when the manually selected commitment date does not match the customer’s delivery preferences.
This ensures that promised delivery dates remain aligned with customer logistics constraints and preferred receiving schedules.
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Sales orders now respect the customer's delivery schedule preference: expected delivery dates are automatically moved to the next valid slot, and a warning appears if the requested date does not fit.
This module connects the customer's delivery schedule preference (set on the contact record) with sales orders, so delivery dates follow what the customer actually accepts.
When a sales order line calculates its expected delivery date, the date is automatically adjusted to the next valid slot based on the customer's preference:
- Anytime: the date is left unchanged.
- Workdays only: a date falling on a weekend is moved forward to the next weekday.
- Configured time windows: the date is moved to the next allowed weekday and time range defined for the customer.
All calculations are done in the customer's delivery timezone, and the result is stored back in Odoo's standard date format.
On the sales order form, when a user changes the commitment date, Odoo checks it against the customer's preference. If the date does not fit, a warning popup titled "Customer delivery preference not met" shows the next available delivery date. The date itself is not blocked or changed automatically by this warning.
If no valid slot can be found within the following week, an error is raised saying no available delivery date was found.
The module touches sale.order, sale.order.line and res.partner. It installs automatically when both Sales/Inventory and the partner delivery window module are present.
Depends on
Models and fields (2)
- sale.order · extends an existing model
- sale.order.line · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 19.0
Confirmed on 2026-11-03 in branch 19.0 of OCA/stock-logistics-workflow.
terminal Installation and usage
No verified informationInstallation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.