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 IDNameModelTypeStatus
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_policy Selection
    default='direct' help=RESERVATION_POLICY_HELP required=True selection=RESERVATION_POLICY_SELECTION
Public methods (0)

No public methods.

New fields (1)
  • reservation_policy Selection
    compute='_compute_reservation_policy' help=RESERVATION_POLICY_HELP precompute=True readonly=False required=True selection=RESERVATION_POLICY_SELECTION store=True
Public methods (0)

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.