diff --git a/addons/product/models/product.py b/addons/product/models/product.py index 59858e98e64..b99b8091f76 100644 --- a/addons/product/models/product.py +++ b/addons/product/models/product.py @@ -726,7 +726,7 @@ class SupplierInfo(models.Model): related='product_tmpl_id.uom_po_id', help="This comes from the product form.") min_qty = fields.Float( - 'Quantity', default=0.0, required=True, + 'Quantity', default=0.0, required=True, digits="Product Unit Of Measure", help="The quantity to purchase from this vendor to benefit from the price, expressed in the vendor Product Unit of Measure if not any, in the default unit of measure of the product otherwise.") price = fields.Float( 'Price', default=0.0, digits='Product Price', diff --git a/addons/product/models/product_pricelist.py b/addons/product/models/product_pricelist.py index 175cf0942ab..c25dd35581e 100644 --- a/addons/product/models/product_pricelist.py +++ b/addons/product/models/product_pricelist.py @@ -399,7 +399,7 @@ class PricelistItem(models.Model): 'product.category', 'Product Category', ondelete='cascade', help="Specify a product category if this rule only applies to products belonging to this category or its children categories. Keep empty otherwise.") min_quantity = fields.Float( - 'Min. Quantity', default=0, + 'Min. Quantity', default=0, digits="Product Unit Of Measure", help="For the rule to apply, bought/sold quantity must be greater " "than or equal to the minimum quantity specified in this field.\n" "Expressed in the default unit of measure of the product.")