[FIX] product: missing digits on quantities fields
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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.")
|
||||
|
||||
Reference in New Issue
Block a user