Sale Order Line Chained Move
sale_order_line_chained_move · OCA/sale-workflow
-
Security25/25No findings
-
Activity12/25Last human commit 21 months ago
-
Required by15/251 module depends on it
-
Maturity25/25In 4 Odoo series since 13.0
Heuristic over the facts below, not an audit · How it's computed
Description
This module defines a technical field to store the related sale order line on stock move level in order to get all chained moves on sale order line side.
In case the stock move contains multiple lines of the same product, Odoo's default behaviour is to merge those lines into the same one.
With this module, there is the option of preserving one move for each sale order line, which enables correct tracing of each move back to its source.
Each stock rule can define how the moves it creates should behave. If at least one move in the chain of moves is set to preserve one move per sale order line, all moves in the chain will act accordingly.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_stock_rule_form |
stock.rule.form | stock.rule | form | Inherits stock.view_stock_rule_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
-
chained_move_idsOne2many → stock.movecomodel_name='stock.move'inverse_name='related_sale_line_id'
No public methods.
-
related_sale_line_idMany2one → sale.order.linecomodel_name='sale.order.line'index=True
No public methods.
-
preserve_separate_so_linesBooleandefault=Falsehelp="Prevents Odoo's default behaviour of merging moves with the same product."string='Preserve Separate Sale Order Lines'
No public methods.
Loading…
Loading…
Loading…
Loading…