sale stock partner wharehouse
Allow to choose by default a warehouse on SO based on a Partner parameter.
If the warehouse parameter is completed, then this value would be the default one on the sale. If empty, then the warehouse on sale would be the standard default warehouse.
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Lets you set a preferred warehouse on a customer or contact, and automatically proposes that warehouse on new draft sales orders for that customer.
This module adds a "Sale Warehouse" field to customer and contact records, visible in the Sales section of the partner form. You can pick a warehouse there for each customer or delivery address.
A new setting appears in the Sales settings: "Prioritize Shipping Partner in Sale Warehouse Proposal". When enabled, a draft sales order first looks at the delivery address's warehouse, and if none is set, falls back to the customer's warehouse. When disabled, only the customer's warehouse is used.
On draft sales orders, the warehouse is filled automatically from these partner settings. If no warehouse is found on the partner, Odoo's normal default warehouse logic applies. Confirmed or non-draft orders are not changed by this module.
The warehouse choice is stored per company, so the same customer can have different preferred warehouses in different companies. The setting itself is also stored per company.
It touches res.partner, sale.order, res.company and res.config.settings, and depends on sale_stock.
Depends on
Models and fields (4)
- sale.order · extends an existing model
- res.company · extends an existing modelsale_warehouse_by_partner_shipping
- res.partner · extends an existing modelsale_warehouse_id (Sale Warehouse)
- res.config.settings · extends an existing modelsale_warehouse_by_partner_shipping
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: 3 confirmed, 6 with no information of 9 versions.
Sources · Odoo 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/sale-workflow.
terminal Installation and usage
OCA documentation · Odoo 19.0Configuration
Source · Odoo 19.0To set a company-wide default that prioritizes the shipping address’s warehouse (falling back to the customer’s):
- Go to Sales → Configuration → Settings
- Enable "Prioritize Shipping Partner in Sale Warehouse Proposal"
On the partner, choose the default warehouse.
Create a sale.order with this partner, the default warehouse is the one from the partner.
Usage
Source · Odoo 19.0You need at least to manage 2 different warehouses.
No verified information in OCA: Installation.
Installation 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.