From 127f62bd5808865cf6d5eedd219811ea8e705eeb Mon Sep 17 00:00:00 2001
From: Fabien Morin <fabien@nexedi.com>
Date: Tue, 20 Jan 2009 12:24:35 +0000
Subject: [PATCH] fix a copy/paste mistake

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

diff --git a/product/ERP5/Document/PaySheetTransaction.py b/product/ERP5/Document/PaySheetTransaction.py
index 96f25d3cbf..d18677e4cc 100644
--- a/product/ERP5/Document/PaySheetTransaction.py
+++ b/product/ERP5/Document/PaySheetTransaction.py
@@ -109,7 +109,7 @@ class PaySheetTransaction(Invoice):
         for reference in ratio_reference_list]
 
   security.declareProtected(Permissions.AccessContentsInformation,
-                          'getRatioQuantityFromReference')
+                          'getAnnotationLineFromReference')
   def getAnnotationLineFromReference(self, reference=None):
     """Return the annotation line corresponding to the reference.
     Returns None if reference not found
@@ -129,7 +129,7 @@ class PaySheetTransaction(Invoice):
     return None 
 
   security.declareProtected(Permissions.AccessContentsInformation,
-                          'getRatioQuantityList')
+                          'getAnnotationLineListList')
   def getAnnotationLineListList(self, 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 
-- 
2.30.9