OdooWiki OCA HUB

Sale Pricelist Discount Decimal Precision

sale_pricelist_discount_decimal_precision folder_open OCA/sale-workflow open_in_new
Sale License: LGPL-3

This module enables the use of discount decimal precision for pricelist items in Odoo. It allows for the use of percentage price and price discount with discount precision.

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

Makes pricelist percentage prices and price discounts follow Odoo's Discount decimal precision, so users can enter and see more than the default two decimals on pricelist items.

This module changes how two numeric fields on pricelist items are stored and displayed: the percentage price and the price discount. Instead of using the standard precision, both now use the "Discount" decimal precision configured in Odoo.

Where it appears: - On pricelist item records (the lines inside a pricelist), the fields percent_price (Percentage Price) and price_discount (Price Discount) are affected.

What changes for users: - When a user types a percentage price or a price discount on a pricelist item, the number of decimal places allowed follows the Discount precision setting, not the default float precision. - The same precision is used when Odoo displays those values, so the entered decimals are shown consistently.

Business rules and automatic behaviour: - There are no new checks, restrictions, emails or scheduled jobs in the code. The only behaviour is the decimal precision applied to the two fields.

Areas touched: - The module extends the existing product.pricelist.item model from the Sales application. It does not add new menus, screens or reports.

Depends on

sale
Models and fields (1)
  • product.pricelist.item · extends an existing modelpercent_price (Percentage Price), price_discount (Price Discount)

Text generated by AI (DeepSeek) from reading the Odoo 14.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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 14.0

Confirmed on 2026-11-03 in branch 14.0 of OCA/sale-workflow.

terminal Installation and usage

OCA documentation · Odoo 14.0

Go to Technical > Database Structure > Decimal Accuracy Change the number of decimals for "Discount" Pricelist will now accept discounts with the set number of decimals.

No verified information in OCA: Installation, Configuration.

info

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.