TIP: You can type at any time to perform a new search.

Security findings

Repository
OCA/stock-logistics-workflow · module folder · Try on Runboat
Module version
1.2.0
Category
Warehouse Management
Folder size
0.08 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/stock-logistics-workflow
Last tracking update
2026-10-03 23:56:57
Authors
Camptocamp, Odoo Community Association (OCA), BCIM
Maintainers
Camptocamp, Odoo Community Association (OCA), BCIM
Committers
Jacques-Etienne Baudoux, Denis Roussel, Akim Juillerat, Weblate, Ruchir Shukla, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
stock_move_source_relocate_dynamic_routing
Description
Relocate source location of unconfirmed moves

Add relocation rules for moves.

Some use cases:

- Handle all the replenishments at the same place
- Trigger minimum stock rules or DDMRP buffers in one location

Behavior:

- When we try to assign a stock move and the move is not available, a
  rule matching the source location (sub-locations included), the
  picking type and an optional domain is searched
- If a relocation is found, the move source location is updated with the
  new one
- If the move was partially available, it is split in 2 parts:

> - one available part which keeps its source location
> - one confirmed part which is updated with the new source location

Notes:

Goes well with `stock_available_to_promise_release`. When using the
mentioned module, we assume that we release moves (which creates the
whole chain of moves) only when we know that we have the quantities in
stock (otherwise the module splits the delivery). So generally, we have
the goods are available, but maybe not at the correct place: this module
is handy to organize internal replenishments.

Compatible with `stock_dynamic_routing`: when the source location is
updated by this module, a dynamic routing may be applied.

Code Analysis info_outline

Views touched (3)
XML IDNameModelTypeStatus
view_stock_source_relocate_form stock.source.relocate.form stock.source.relocate form New
view_stock_source_relocate_search stock.source.relocate.search stock.source.relocate search New
view_stock_source_relocate_tree stock.source.relocate stock.source.relocate list New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (8)
  • active Boolean
    default=True
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr>
  • location_id Many2one → stock.location
    comodel_name='stock.location' required=True
  • picking_type_id Many2one → stock.picking.type
    comodel_name='stock.picking.type' required=True
  • relocate_location_id Many2one → stock.location
    comodel_name='stock.location' required=True
  • rule_domain Char
    default=[] help='Domain based on Stock Moves, to define if the rule is applicable or not.'
  • rule_message Html
    compute='_compute_rule_message'
  • sequence Integer
    default=<expr>
Public methods (1)
  • name_get(self)

Loading…

Loading…

Loading…