Commit 9a1f36dd authored by Nicolas Wavrant's avatar Nicolas Wavrant

fixup! erp5_pdm: support calculation of base_price applying to all items of a same slice

parent 4495b102
......@@ -188,7 +188,7 @@ class SupplyLine(Path, Amount, XMLMatrix):
else:
method_name = 'get%sList' % \
convertToUpperCase("%s_quantity_step" % price_parameter)
return getattr(self, method_name)()
return getattr(self, method_name)() or []
security.declareProtected(Permissions.ModifyPortalContent,
'updateQuantityPredicate')
......
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