Stock Move Source Relocation
stock_move_source_relocate · OCA/stock-logistics-workflow
OCA/wms 10.0–14.0 → OCA/stock-logistics-workflow 18.0
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by15/251 module depends on it
-
Maturity25/25In 4 Odoo series since 10.0
Heuristic over the facts below, not an audit · How it's computed
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.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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
No new fields.
Public methods (0)No public methods.
-
activeBooleandefault=True -
company_idMany2one → res.companycomodel_name='res.company'default=<expr> -
location_idMany2one → stock.locationcomodel_name='stock.location'required=True -
picking_type_idMany2one → stock.picking.typecomodel_name='stock.picking.type'required=True -
relocate_location_idMany2one → stock.locationcomodel_name='stock.location'required=True -
rule_domainChardefault=[]help='Domain based on Stock Moves, to define if the rule is applicable or not.' -
rule_messageHtmlcompute='_compute_rule_message' -
sequenceIntegerdefault=<expr>
No public methods.
Loading…
Loading…
Loading…