Repository
OCA/stock-logistics-workflow · module folder · Try on Runboat
Module version
1.0.0
Category
Inventory
Folder size
0.04 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/stock-logistics-workflow
Last tracking update
2026-07-13 19:54:19
Authors
Odoo Community Association (OCA), ForgeFlow
Maintainers
Odoo Community Association (OCA), ForgeFlow
Committers
OCA-git-bot, oca-ci, Joan Sisquella
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module adds a *Restrict Partial Validation* option on operation types.

Transfers of a restricted operation type can only be validated when they are
fully reserved and processed in full:

- Validation is blocked while the transfer is not in *Ready* state, so
  quantities cannot be forced on stock that is not reserved.
- Validation is blocked when any line is processed for less than the demanded
  quantity, so no backorder can ever be created for these transfers.

A typical use case is all-or-nothing internal transfers, such as kit
transfers that must always travel complete. Combined with the *When all
products are ready* shipping policy, operators only see these transfers as
Ready when everything can be moved, and cannot process them any other way.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_picking_type_form_restrict_partial_validation stock.picking.type.form - stock_picking_restrict_partial_validation stock.picking.type form Inherits stock.view_picking_type_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • button_validate(self)

New fields (1)
  • restrict_partial_validation Boolean
    help='Transfers of this operation type can only be validated when they are fully reserved and processed in full: validation is blocked while the transfer is not in Ready state, and when any line is processed for less than the demanded quantity, so no backorder can be created.'
Public methods (0)

No public methods.