Commit f01f4c64 authored by Nicolas Wavrant's avatar Nicolas Wavrant

SupplyLine: update

parent 6aaf4c79
......@@ -142,7 +142,7 @@ class SupplyLine(Path, Amount, XMLMatrix):
"""
kwd.setdefault('base_id', 'path')
cell = XMLMatrix.newCell(self, *kw, **kwd)
if kwd['base_id'] == 'path':
if kwd['base_id'] == 'path' and self.isBasePricePerSlice():
index = self.index[kwd['base_id']][0][kw[0]]
quantity_step_list = [None] + self.getQuantityStepList() + [None]
min_quantity = quantity_step_list[index]
......
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