Skip to content
Health
70/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 5 months ago
  • Required by15/25
    1 module depends on it
  • Maturity5/25
    In 1 Odoo series since 19.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.06 MB
Module directory on disk
Code analysis 0 migration notes 3 models 2 views 0 HTTP endpoints

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.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
sale_stock_picking_reservation_policy

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 2

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

No public methods.

Loading…