Sale Automatic Workflow Stock Location Route
This module extends the OCA sale_automatic_workflow by automatically setting a specific route on sale order lines when orders are confirmed.
You can configure a route directly on the workflow process, and it will be applied to all lines with products delivered by stock move.
A route policy setting allows you to either replace existing routes or only fill empty ones.
The route is applied both during the onchange event for immediate visual feedback and at order confirmation.
auto_awesome What this module does
AI-generated from the code · Odoo 14.0Lets you define a stock route on a sales workflow so that, when an order is confirmed, the route is automatically applied to its sale order lines.
This module adds two settings to each sales workflow process: a Route (chosen among routes that are selectable on sales) and a Route Policy.
- Replace: the workflow route is always applied when one is defined.
- Fill Empty: the workflow route is only set on lines that do not already have a route.
These fields appear on the workflow process form and list, right after the picking policy.
When you switch the workflow on a sales order, the route is applied immediately to the eligible lines so you can see the effect before confirming. When the order is confirmed, the same logic runs again automatically.
Only lines whose delivery is handled by a stock move are affected; service or other lines are left untouched. The route is taken from the workflow process linked to the order, and the policy decides whether existing routes on lines are overwritten or preserved.
It touches the sales order and sales workflow process areas, and relies on the stock route configuration.
Depends on
Models and fields (2)
- sale.order · extends an existing model
- sale.workflow.process · extends an existing modelsale_line_route_id (Route), sale_line_route_policy (Route Policy)
Text generated by AI (DeepSeek) from reading the Odoo 14.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 14.0
Confirmed on 2026-11-03 in branch 14.0 of OCA/sale-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.