Skip to content
Health
60/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 6 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 19.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
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.05 MB
Module directory on disk
Code analysis 0 migration notes 1 model 3 views 0 HTTP endpoints

Description

This module tracks from where each sale order line unit price comes from.

It extends sale.order.line with: - price_source (pricelist, product, manual) - price_source_pricelist_item_id (the applied product.pricelist.item when source is pricelist)

Price source is computed from core pricing behavior, including manual-price detection based on technical_price_unit versus price_unit.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

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_order_form_inherit_price_source sale.order.form.inherit.price.source sale.order form Inherits sale.view_order_form
view_order_line_form_inherit_price_source sale.order.line.form.inherit.price.source sale.order.line form Inherits sale.sale_order_line_view_form_readonly
view_order_line_tree_inherit_price_source sale.order.line.tree.inherit.price.source sale.order.line tree Inherits sale.view_order_line_tree

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 1

New fields (3)
  • price_source Selection
    default='product' help='Indicates the source of the unit price: Pricelist rule, product base price, or manual override.' args: [('pricelist', 'Pricelist Rule'), ('product', 'Product Sales Price'), ('manual', 'Manual Override')]
  • price_source_pricelist_item_id Many2one → product.pricelist.item
    help="The pricelist rule that determined this line's price (if source is Pricelist)." args: 'product.pricelist.item'
  • pricelist_id Many2one → product.pricelist
    help="The pricelist that determined this line's price (if source is Pricelist)." related='price_source_pricelist_item_id.pricelist_id' string='Price Source Pricelist' args: 'product.pricelist'
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, values)