[FIX] product: default quantity on pricelist item

- Create a new pricelist for a new currency
- Set the 'Sale Price' option to 'A single sale price per product', so
  that the user cannot see the pricelist details
- Sell 0.5 unit of the product with the new pricelist

The pricelist is not correctly applied.

This is because the default minimum quantity is 1. Once the user is
selling less than 1 unit, the pricelist is not applied.

opw-1825353
This commit is contained in:
Nicolas Martinelli
2018-03-20 11:38:24 +01:00
committed by Nicolas Martinelli
parent 444e2a4ed0
commit 407b85e329
+1 -1
View File
@@ -340,7 +340,7 @@ class product_pricelist_item(osv.osv):
_defaults = {
'base': 'list_price',
'min_quantity': 1,
'min_quantity': 0,
'sequence': 5,
'price_discount': 0,
'applied_on': '3_global',