TIP: You can type at any time to perform a new search.
Purchase Product Last Price Info
purchase_last_price_info · OCA/purchase-workflow
Security findings
- Repository
- OCA/purchase-workflow · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Purchase Management
- Folder size
- 0.2 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/purchase-workflow
- Last tracking update
- 2026-09-12 11:26:57
- Authors
- Odoo Community Association (OCA), AvanzOSC, Tecnativa
- Maintainers
- Odoo Community Association (OCA), AvanzOSC, Tecnativa
- Committers
- CarmenMiranda, David Vidal, Weblate, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
This module adds the last purchase info of the product. What is shown is the supplier, date of purchase, and price of the most recently confirmed purchase order.
Code Analysis
Views touched (4)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_product_last_purchase_info_form_view |
product.product.last.purchase.info.form | product.product | form | Inherits product.product_normal_form_view |
product_product_tree_view |
product.product.tree | product.product | tree | Inherits product.product_product_tree_view |
product_template_last_purchase_info_form_view |
product.template.form.last.purchase.info | product.template | form | Inherits purchase.view_product_supplier_inherit |
product_template_tree_view |
product.template.product.tree | product.template | tree | Inherits product.product_template_tree_view |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (8)
-
last_purchase_currency_idMany2one → res.currencycomodel_name='res.currency'compute='_compute_last_purchase_line_id_info' -
last_purchase_dateDatetimecompute='_compute_last_purchase_line_id_info' -
last_purchase_line_idMany2one → purchase.order.linecomodel_name='purchase.order.line'compute='_compute_last_purchase_line_id' -
last_purchase_line_idsOne2many → purchase.order.linecomodel_name='purchase.order.line'inverse_name='product_id'string='Last Purchase Order Lines' -
last_purchase_priceFloatcompute='_compute_last_purchase_line_id_info' -
last_purchase_price_currency_rateFloatcompute='_compute_last_purchase_price_currency_rate'digits=0string='Last Purchase Currency Rate' -
last_purchase_supplier_idMany2one → res.partnercomodel_name='res.partner'compute='_compute_last_purchase_line_id_info'string='Last Supplier' -
show_last_purchase_price_currency_rateBooleancompute='_compute_show_last_purchase_price_currency_rate'
No public methods.
New fields (8)
-
last_purchase_currency_idMany2one → res.currencycomodel_name='res.currency'compute='_compute_last_purchase_line_id_info' -
last_purchase_dateDatetimecompute='_compute_last_purchase_line_id_info' -
last_purchase_line_idMany2one → purchase.order.linecomodel_name='purchase.order.line'compute='_compute_last_purchase_line_id' -
last_purchase_line_idsOne2many → purchase.order.linecomodel_name='purchase.order.line'related='product_variant_ids.last_purchase_line_ids'string='Last Purchase Order Lines' -
last_purchase_priceFloatcompute='_compute_last_purchase_line_id_info' -
last_purchase_price_currency_rateFloatdigits=0related='product_variant_ids.last_purchase_price_currency_rate'string='Last Purchase Currency Rate' -
last_purchase_supplier_idMany2one → res.partnercomodel_name='res.partner'compute='_compute_last_purchase_line_id_info'string='Last Supplier' -
show_last_purchase_price_currency_rateBooleanrelated='product_variant_ids.show_last_purchase_price_currency_rate'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…