OdooWiki OCA HUB

Pricelist Rule UoM

product_pricelist_item_uom folder_open OCA/product-attribute open_in_new
Sales/Sales License: AGPL-3

Set UoM in Pricelist Rules.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Lets you enter the minimum quantity of a pricelist rule in the product's own unit of measure, and shows that unit next to the quantity. Odoo automatically converts it to the standard quantity used by the rule.

When you create a pricing rule on a pricelist, you can now choose the unit of measure (UoM) in which the minimum quantity is expressed, instead of always using the product's default unit.

  • On the pricelist rule form, two new fields appear after the minimum quantity: "Min. Quantity in UoM" and "UoM". They are only shown when the rule applies to a specific product or product variant.
  • The UoM is filled in automatically from the product's own unit of measure, but you can change it.
  • When you change the product, the UoM, or the minimum quantity in UoM, Odoo recalculates the standard minimum quantity of the rule by converting your value into the product's unit of measure. The conversion uses Odoo's unit-of-measure conversion and respects the product's quantity precision.
  • In the pricelist form, the rules list now shows the minimum quantity in the chosen UoM and the UoM itself, while the original minimum quantity column is hidden.

This affects the product.pricelist.item model (pricing rules) and the product.pricelist model (pricelists). No new menus are added; the changes appear inside the existing pricelist and pricelist rule screens.

Depends on

productuom
Models and fields (1)
  • product.pricelist.item · extends an existing modeluom_id (UoM), uom_min_quantity (Min. Quantity in UoM)

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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 19.0

Confirmed on 2026-11-03 in branch 19.0 of OCA/product-attribute.

terminal Installation and usage

OCA documentation · Odoo 19.0

In any Pricelist Rule for a Product, set the Min. Quantity and the UoM.

Note that prices in the Pricelist Rule (fixed, margins, surcharge) have to be proportional to the UoM of the Product.

You sell Sugar by the kg, so its UoM is kg and the product price is 1000€: you are selling it at 1000€/kg (a bit expensive as sugar goes, but you can see why).

One customer is asking for 10g but the price you need for 10g is not 10€ (proportional with the price of 0,01kg) but it is 15€.

With this module, you can configure two price rules:

  • minimum quantity 1g and a surcharge, note that the surcharge is proportional to the original UoM (kg), so in this example the surcharge must be 500€
  • minimum quantity 1kg and original price

No verified information in OCA: Installation.

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.