Commit 68113ef6 authored by Fabien Morin's avatar Fabien Morin

remove slice calculation because this variables were not used : the...

remove slice calculation because this variables were not used : the calculation is made in the calculation script (see PaySheetTransaction_defaultCalculationScript)


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25176 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9b4da117
......@@ -425,19 +425,6 @@ class PaySheetTransaction(Invoice):
cell = getModifiedCell(cell, line_dict[slice], tax_category)
# get the slice :
model_slice = model_line.getParentValue().getCell(slice)
quantity = 0.0
price = 0.0
model_slice_min = 0
model_slice_max = 0
if model_slice is None:
pass # that's not a problem :)
else:
model_slice_min = model_slice.getQuantityRangeMin()
model_slice_max = model_slice.getQuantityRangeMax()
######################
# calculation part : #
######################
......
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