From f4f9b645dbc30491009eb029a99551ee1c5a89ca Mon Sep 17 00:00:00 2001
From: Fabien Morin <fabien@nexedi.com>
Date: Mon, 17 Dec 2007 16:32:41 +0000
Subject: [PATCH] change getSubObjectValueList method name into
 getInheritedObjectValueList

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18368 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/Document/PaySheetTransaction.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/product/ERP5/Document/PaySheetTransaction.py b/product/ERP5/Document/PaySheetTransaction.py
index e7d1b19341..d85777dd73 100644
--- a/product/ERP5/Document/PaySheetTransaction.py
+++ b/product/ERP5/Document/PaySheetTransaction.py
@@ -91,7 +91,7 @@ class PaySheetTransaction(Invoice):
           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 @@ class PaySheetTransaction(Invoice):
           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 @@ class PaySheetTransaction(Invoice):
 
     # 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 @@ class PaySheetTransaction(Invoice):
 
     # 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 @@ class PaySheetTransaction(Invoice):
 
     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)
-- 
2.30.9