TIP: You can type at any time to perform a new search.
Sale Stock Picking Reservation Policy
sale_stock_picking_reservation_policy · OCA/stock-logistics-workflow
- Repository
- OCA/stock-logistics-workflow · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Inventory/Configuration
- Folder size
- 0.05 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- Yes
- Website
- https://github.com/OCA/stock-logistics-workflow
- Last tracking update
- 2026-07-27 14:12:36
- Authors
- Odoo Community Association (OCA), Camptocamp
- Maintainers
- Odoo Community Association (OCA), Camptocamp
- Committers
- OCA-git-bot, Iván Todorovich, oca-ci
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
This module integrates `stock_picking_reservation_policy` with sales. It adds a *Reservation Policy* on the sale order, defaulted from the customer (or delivery address) and adjustable per order. When the order is confirmed, the policy is carried over to the deliveries it generates. With an *All or nothing per line* order, each delivery line (stock move) is reserved only if its **full** quantity can be reserved from stock; otherwise that line stays unreserved. The all-or-nothing rule is applied **per line (stock.move)**, independently for each line, not on the delivery as a whole.
Code Analysis ⓘ
Views touched (2)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_order_form |
sale.order | form | Inherits sale_stock.view_order_form_inherit_sale_stock | |
view_partner_form |
res.partner | form | Inherits base.view_partner_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (4)
New fields (1)
-
reservation_policySelectiondefault='direct'help=RESERVATION_POLICY_HELPrequired=Trueselection=RESERVATION_POLICY_SELECTION
No public methods.
New fields (1)
-
reservation_policySelectioncompute='_compute_reservation_policy'help=RESERVATION_POLICY_HELPprecompute=Truereadonly=Falserequired=Trueselection=RESERVATION_POLICY_SELECTIONstore=True
No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.