Purchase order line price unit digits
Legacy purchase order line rounding in screen.
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Restores the classic number of decimals for the unit price on purchase order lines, so prices are shown and rounded with the same precision as product prices instead of the default setting.
This module changes how the unit price is displayed and stored on purchase order lines. It applies the "Product Price" decimal precision to the price_unit field of purchase.order.line, which is the field holding the price per unit of each product ordered from a vendor.
In practice, when you create or edit a purchase order (Purchases > Orders > Purchase Orders) and add a line, the unit price is now formatted with the number of decimals configured for product prices, rather than the general decimal precision used by default. This keeps the price shown on the order line consistent with the price you see on the product and in other price-related screens.
- The change is purely about number formatting and rounding of the unit price.
- It does not add menus, buttons, reports, emails or scheduled actions.
- It does not change taxes, totals, quantities or any other field.
- It only affects the
purchase.order.linemodel and itsprice_unitfield.
Because the field definition is inherited, the behaviour applies everywhere the unit price appears on purchase order lines, including the order form and any list or report that reads that field. No other Odoo area is modified.
Depends on
Models and fields (1)
- purchase.order.line · extends an existing modelprice_unit
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: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 19.0
Confirmed on 2026-11-03 in branch 19.0 of OCA/purchase-workflow.
terminal Installation and usage
No verified informationInstallation 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.