TIP: You can type at any time to perform a new search.
Stock Picking Reservation Policy
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
- No
- 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
- sale_stock_picking_reservation_policy
- Description
By default, Odoo reserves whatever quantity is available for a transfer's lines (stock moves), leaving the rest as *partially available*. This module adds a **Reservation Policy** that controls this behavior, on the operation type and on the transfer itself: - **Partial**: reserve whatever quantity is available (standard behavior). - **All or nothing per line**: each transfer line (stock move) is reserved only if its **full** quantity can be reserved from stock; otherwise that line stays entirely unreserved. The all-or-nothing rule is applied **per line (stock.move)**, independently for each line of the transfer — not on the transfer as a whole. One line may be fully reserved while another, short on stock, stays unreserved. The transfer defaults its policy from the operation type, and the value can be adjusted on the transfer. It is similar in spirit to the *Shipping Policy* (`move_type`), but it applies at **reservation** time on each line, rather than at delivery time. It only affects reservation from stock: lines fed by chained (origin) moves keep their standard behavior.
Code Analysis ⓘ
Views touched (2)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_picking_form |
stock.picking | form | Inherits stock.view_picking_form | |
view_picking_type_form |
stock.picking.type | form | Inherits stock.view_picking_type_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (3)
New fields (0)
No new fields.
Public methods (0)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 (1)
-
reservation_policySelectiondefault='direct'help=RESERVATION_POLICY_HELPrequired=Trueselection=RESERVATION_POLICY_SELECTION
No public methods.