[IMP] product: min quantity int -> float

purpose of this commit is to change the field type
of min_quantity from int to float on product pricelist
object

task:2165208

closes odoo/odoo#45792

Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
This commit is contained in:
Hemali Bhimani
2020-03-09 06:46:25 +00:00
parent 5b87b5879c
commit 80ede1d0c0
+1 -1
View File
@@ -398,7 +398,7 @@ class PricelistItem(models.Model):
categ_id = fields.Many2one(
'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.Integer(
min_quantity = fields.Float(
'Min. Quantity', default=0,
help="For the rule to apply, bought/sold quantity must be greater "
"than or equal to the minimum quantity specified in this field.\n"