Sale order line price history
sale_order_line_price_history · OCA/sale-workflow
Health
80/100
good
-
Security25/25No findings
-
Activity25/25Human commit this month
-
Required by5/250 modules depend on it
-
Maturity25/25In 9 Odoo series since 11.0
Heuristic over the facts below, not an audit · How it's computed
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.13 MB
Module directory on disk
Code analysis
0 migration notes
3 models
2 views
0 HTTP endpoints
Description
This module extends the functionality of Sales to allow you to see the price history of a product from a sale order line and set one of these old prices in the sale order line.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
sale_order_line_price_history_view_form |
sale.order.line.price.history.view.form | sale.order.line.price.history | form | New |
view_order_form |
sale.order.line.price.history.form | sale.order | form | Inherits sale.view_order_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (1)
-
order_partner_idMany2onedepends=['order_id.partner_id', 'product_id']
No public methods.
New fields (6)
-
include_commercial_partnerBooleandefault=Truehelp='Include commercial entity and its contacts in the sale history'string='Include commercial entity' -
include_quotationsBooleanhelp='Include quotations lines in the sale history' -
line_idsOne2many → sale.order.line.price.history.linecomodel_name='sale.order.line.price.history.line'inverse_name='history_id'readonly=Truestring='History lines' -
partner_idMany2one → res.partnercomodel_name='res.partner'default=<expr>string='Customer' -
product_idMany2one → product.productcomodel_name='product.product'default=<expr> -
sale_order_line_idMany2one → sale.order.linecomodel_name='sale.order.line'default=<expr>string='Sale order line'
No public methods.
New fields (11)
-
discountFloatrelated='sale_order_line_id.discount' -
history_idMany2one → sale.order.line.price.historycomodel_name='sale.order.line.price.history' -
history_sale_order_line_idMany2one → sale.order.linecomodel_name='sale.order.line'string='history sale order line' -
order_idMany2onerelated='sale_order_line_id.order_id' -
order_stateSelectionrelated='order_id.state' -
partner_idMany2onerelated='sale_order_line_id.order_partner_id' -
price_unitFloatrelated='sale_order_line_id.price_unit' -
product_uom_qtyFloatrelated='sale_order_line_id.product_uom_qty' -
sale_order_date_orderDatetimerelated='sale_order_line_id.order_id.date_order' -
sale_order_line_idMany2one → sale.order.linecomodel_name='sale.order.line' -
target_sale_order_line_idMany2one → sale.order.linecomodel_name='sale.order.line'related='history_id.sale_order_line_id'
-
action_set_price(self)
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…