[Erp5-report] r27466 - /erp5/trunk/products/ERP5/Document/PaySheetTransaction.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Jun 9 13:02:08 CEST 2009
Author: fabien
Date: Tue Jun 9 13:02:06 2009
New Revision: 27466
URL: http://svn.erp5.org?rev=27466&view=rev
Log:
typo
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=27466&r1=27465&r2=27466&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/PaySheetTransaction.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/PaySheetTransaction.py [utf8] Tue Jun 9 13:02:06 2009
@@ -88,8 +88,7 @@
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 @@
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')
More information about the Erp5-report
mailing list