Commit 127f62bd authored by Fabien Morin's avatar Fabien Morin

fix a copy/paste mistake


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25201 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e8983c85
...@@ -109,7 +109,7 @@ class PaySheetTransaction(Invoice): ...@@ -109,7 +109,7 @@ class PaySheetTransaction(Invoice):
for reference in ratio_reference_list] for reference in ratio_reference_list]
security.declareProtected(Permissions.AccessContentsInformation, security.declareProtected(Permissions.AccessContentsInformation,
'getRatioQuantityFromReference') 'getAnnotationLineFromReference')
def getAnnotationLineFromReference(self, reference=None): def getAnnotationLineFromReference(self, reference=None):
"""Return the annotation line corresponding to the reference. """Return the annotation line corresponding to the reference.
Returns None if reference not found Returns None if reference not found
...@@ -129,7 +129,7 @@ class PaySheetTransaction(Invoice): ...@@ -129,7 +129,7 @@ class PaySheetTransaction(Invoice):
return None return None
security.declareProtected(Permissions.AccessContentsInformation, security.declareProtected(Permissions.AccessContentsInformation,
'getRatioQuantityList') 'getAnnotationLineListList')
def getAnnotationLineListList(self, reference_list): def getAnnotationLineListList(self, reference_list):
"""Return a list of annotation lines corresponding to the reference_list """Return a list of annotation lines corresponding to the reference_list
reference_list is a list of references to the Annotation Line we want reference_list is a list of references to the Annotation Line we want
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment