[Erp5-report] r25176 - /erp5/trunk/products/ERP5/Document/PaySheetTransaction.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Jan 19 15:22:49 CET 2009
Author: fabien
Date: Mon Jan 19 15:22:43 2009
New Revision: 25176
URL: http://svn.erp5.org?rev=25176&view=rev
Log:
remove slice calculation because this variables were not used : the calculation is made in the calculation script (see PaySheetTransaction_defaultCalculationScript)
Modified:
erp5/trunk/products/ERP5/Document/PaySheetTransaction.py
Modified: erp5/trunk/products/ERP5/Document/PaySheetTransaction.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/PaySheetTransaction.py?rev=25176&r1=25175&r2=25176&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/PaySheetTransaction.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/PaySheetTransaction.py [utf8] Mon Jan 19 15:22:43 2009
@@ -425,19 +425,6 @@
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 : #
######################
More information about the Erp5-report
mailing list