Purchase Order Supplierinfo Update
This module extends the functionality of purchase to allow the price and the discount of the supplier-info to be updated automatically for each product of the purchase when it is confirmed. This will allow that when a purchase order is created, the suggested price and suggested discount for those products is the last one purchased.
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Automatically updates the supplier's price and discount on the product's vendor record when a purchase order is confirmed or its lines are changed, so future purchases suggest the latest agreed price.
This module keeps the vendor price list (the supplier information stored on each product) in sync with what you actually ordered. When a purchase order is confirmed, or when a confirmed order's line price or discount is edited, the module writes the new price and discount back to the matching supplier record for that product and vendor.
- It works on purchase orders and their lines. The update happens when the order moves to the 'Purchase Order' or 'Done' state, and also when a line's unit price or discount is changed on an already confirmed order.
- It only updates the supplier record if there is no later purchase order line for the same vendor and product, so older orders do not overwrite newer prices.
- Prices are converted to the supplier's currency and unit of measure before being saved, so the stored vendor price stays correct even if you buy in a different currency or packaging.
- The vendor's discount is also updated to match the discount on the purchase line.
There are no new menus or screens; the change is visible on the product's vendor price list and in the suggested price when creating future purchase orders.
Depends on
Models and fields (2)
- purchase.order · extends an existing model
- purchase.order.line · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 6 confirmed, 3 with no information of 9 versions.
Sources · Odoo 13.0
Confirmed on 2026-11-03 in branch 13.0 of OCA/purchase-workflow.
terminal Installation and usage
OCA documentation · Odoo 19.0Usage
Source · Odoo 19.0To use this module, you need to:
- Go to Purchase \> Orders \> Requests for Quotation and create a new Requests for Quotation with several products.
- Confirm that quotation and the unit prices defined on the lines will be stored in the supplier-info (related to the quotation supplier) of the products.
- By default the suggested price and the suggested discount for the products is the one stored in supplier-info, so in this way, if you create another quotation with the same supplier and the same products, the suggested price and the suggested discount for each product will be the same price and same discount at which the product was last purchased.
No verified information in OCA: Installation, Configuration.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.