Commit 373ddc6b authored by Nicolas Wavrant's avatar Nicolas Wavrant

SupplyLine: fixup

parent d041598f
......@@ -228,7 +228,7 @@ class SupplyLine(Path, Amount, XMLMatrix):
p.setCriterionPropertyList(('quantity', ))
p.setCriterion(
'quantity',
min=min_quantity or 1,
min=min_quantity,
max=(None if price_parameter == 'sliced_base_price' else max_quantity)
)
if script is not None:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment