[Erp5-report] r18368 - /erp5/trunk/products/ERP5/Document/PaySheetTransaction.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Dec 17 17:32:41 CET 2007
Author: fabien
Date: Mon Dec 17 17:32:41 2007
New Revision: 18368
URL: http://svn.erp5.org?rev=18368&view=rev
Log:
change getSubObjectValueList method name into getInheritedObjectValueList
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=18368&r1=18367&r2=18368&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/PaySheetTransaction.py (original)
+++ erp5/trunk/products/ERP5/Document/PaySheetTransaction.py Mon Dec 17 17:32:41 2007
@@ -91,7 +91,7 @@
return object.getQuantity()
# if not find in the paysheet, look on dependence tree
- sub_object_list = self.getSubObjectValueList(portal_type_list)
+ sub_object_list = self.getInheritedObjectValueList(portal_type_list)
object_ratio_list = sub_object_list
for object in object_ratio_list:
if object.getReference() == ratio_reference:
@@ -131,7 +131,7 @@
return annotation_line
# if not find in the paysheet, look on dependence tree
- sub_object_list = self.getSubObjectValueList(portal_type_list)
+ sub_object_list = self.getInheritedObjectValueList(portal_type_list)
annotation_line_list = sub_object_list
for annotation_line in annotation_line_list:
if annotation_line.getReference() == reference:
@@ -271,7 +271,7 @@
# get model lines
portal_type_list = ['Pay Sheet Model Line']
- sub_object_list = paysheet.getSubObjectValueList(portal_type_list)
+ sub_object_list = paysheet.getInheritedObjectValueList(portal_type_list)
sub_object_list.sort(sortByIntIndex)
model_line_list = sub_object_list
@@ -349,7 +349,7 @@
# get model lines
portal_type_list = ['Pay Sheet Model Line']
- sub_object_list = paysheet.getSubObjectValueList(portal_type_list)
+ sub_object_list = paysheet.getInheritedObjectValueList(portal_type_list)
sub_object_list.sort(sortByIntIndex)
model_line_list = sub_object_list
@@ -528,7 +528,7 @@
return pay_sheet_line_list
- def getSubObjectValueList(self, portal_type_list):
+ def getInheritedObjectValueList(self, portal_type_list):
'''
return a list of all subobject of the herited model (incuding the
dependencies)
More information about the Erp5-report
mailing list