From 612109b8a2b4202ef51f6b8f7b405c76448cf72f Mon Sep 17 00:00:00 2001 From: Fabien Morin <fabien@nexedi.com> Date: Tue, 9 Jun 2009 11:02:06 +0000 Subject: [PATCH] typo git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27466 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/PaySheetTransaction.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/product/ERP5/Document/PaySheetTransaction.py b/product/ERP5/Document/PaySheetTransaction.py index fe05ba4898..06a86ec8cc 100644 --- a/product/ERP5/Document/PaySheetTransaction.py +++ b/product/ERP5/Document/PaySheetTransaction.py @@ -88,8 +88,7 @@ class PaySheetTransaction(Invoice): for document in object_ratio_list: if document.getReference() == ratio_reference: return document.getQuantity() - - return None + return None security.declareProtected(Permissions.AccessContentsInformation, 'getRatioQuantityList') @@ -116,13 +115,11 @@ class PaySheetTransaction(Invoice): for annotation_line in annotation_line_list: if (annotation_line.getReference() or annotation_line.getId()) == reference : return annotation_line - # if not find in the paysheet, look on dependence tree for annotation_line in self.getInheritedObjectValueList(['Annotation Line']): if (annotation_line.getReference() or annotation_line.getId()) == reference: return annotation_line - - return None + return None security.declareProtected(Permissions.AccessContentsInformation, 'getAnnotationLineListList') -- 2.30.9