Skip to content
Health
90/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by15/25
    1 module depends on it
  • Maturity25/25
    In 4 Odoo series since 10.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.08 MB
Module directory on disk
Code analysis 0 migration notes 2 models 3 views 0 HTTP endpoints

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

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
stock_move_source_relocate_dynamic_routing

Code analysis

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

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 (0)

No public methods.

Loading…

Loading…

Loading…