Skip to main content

Change source location of unavailable moves

Project description

Beta License: AGPL-3 OCA/wms Translate me on Weblate Try me on Runboat

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


  • 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


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.

Table of contents


The configuration of the source relocations is done in “Inventory > Configuration > Source Relocation”.

Creation of a rule:

Properties that define where the rule will be applied:

  • Location: any unreserved move in this location or sub-location is relocated

  • Picking Type: any unreserved move in this picking type is relocated

  • Rule Domain: filter the moves to relocate with arbitrary domains

Note: all of the above must be met to relocate a move.

The Relocate Location field defines what the move source location will be changed to. It must be a sub-location of the location.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.



  • Camptocamp

  • BCIM


Other credits

The migration of this module from 13.0 to 14.0 was financially supported by Camptocamp


This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainer:


This module is part of the OCA/wms project on GitHub.

You are welcome to contribute. To learn how please visit

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page