Skip to content
Health
77/100
good
  • Security25/25
    No findings
  • Activity12/25
    Last human commit 21 months ago
  • Required by15/25
    1 module depends on it
  • Maturity25/25
    In 4 Odoo series since 13.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.04 MB
Module directory on disk
Code analysis 0 migration notes 3 models 1 view 0 HTTP endpoints

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

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
sale_purchase_force_vendor

Code analysis

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

Views touched 1

XML IDNameModelTypeStatus
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

New fields (1)
  • chained_move_ids One2many → stock.move
    comodel_name='stock.move' inverse_name='related_sale_line_id'
Public methods (0)

No public methods.

New fields (1)
  • related_sale_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' index=True
Public methods (0)

No public methods.

New fields (1)
  • preserve_separate_so_lines Boolean
    default=False help="Prevents Odoo's default behaviour of merging moves with the same product." string='Preserve Separate Sale Order Lines'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…