Purchase order line price history
purchase_order_line_price_history · OCA/purchase-workflow
Merged into purchase in 16.0
Health
65/100
fair
-
Security25/25No findings
-
Activity0/25Last human commit 38 months ago
-
Required by15/251 module depends on it
-
Maturity25/25In 4 Odoo series since 12.0
Heuristic over the facts below, not an audit · How it's computed
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.09 MB
Module directory on disk
Code analysis
1 migration note
2 models
2 views
0 HTTP endpoints
Migration considerations
purchase_order_line_price_history_view_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
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 |
|---|---|---|---|---|
purchase_order_form |
purchase.order.form | purchase.order | form | Inherits purchase.purchase_order_form |
purchase_order_line_price_history_view_form |
purchase.order.line.price.history.view.form | purchase.order.line.price.history | form | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (6)
-
include_commercial_partnerBooleandefault=Truehelp='Include commercial entity and its contacts in the purchase history'string='Include commercial entity' -
include_rfqBooleanhelp="Include 'Requests for Quotation' lines in the purchase history"string='Include RFQ' -
line_idsOne2many → purchase.order.line.price.history.linecomodel_name='purchase.order.line.price.history.line'inverse_name='history_id'readonly=Truestring='History lines' -
partner_idMany2one → res.partnercomodel_name='res.partner'default=_default_partner_idstring='Supplier' -
product_idMany2onerelated='purchase_order_line_id.product_id' -
purchase_order_line_idMany2one → purchase.order.linecomodel_name='purchase.order.line'default=<expr>string='Purchase order line'
No public methods.
New fields (8)
-
history_idMany2one → purchase.order.line.price.historycomodel_name='purchase.order.line.price.history'string='History' -
order_idMany2onerelated='purchase_order_line_id.order_id' -
partner_idMany2onerelated='purchase_order_line_id.partner_id' -
price_unitFloatrelated='purchase_order_line_id.price_unit' -
product_qtyFloatrelated='purchase_order_line_id.product_qty' -
product_uomMany2onerelated='purchase_order_line_id.product_uom' -
purchase_order_date_orderDatetimerelated='purchase_order_line_id.order_id.date_order' -
purchase_order_line_idMany2one → purchase.order.linecomodel_name='purchase.order.line'string='Purchase order line'
-
action_set_price(self)
Loading…
Loading…
Loading…
Loading…