[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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user