From 5d1577d3fe0a881dc509b4c76cea7dd1458523cf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com>
Date: Wed, 27 Aug 2008 14:48:27 +0000
Subject: [PATCH] typo in security definition

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23203 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/Tool/IdTool.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5/Tool/IdTool.py b/product/ERP5/Tool/IdTool.py
index e77527c8fd..97be21a840 100644
--- a/product/ERP5/Tool/IdTool.py
+++ b/product/ERP5/Tool/IdTool.py
@@ -149,7 +149,7 @@ class IdTool(BaseTool):
     return self.dict_length_ids.items()
 
   security.declareProtected(Permissions.AccessContentsInformation,
-                            'getLastGeneratedId')
+                            'getLastLengthGeneratedId')
   def getLastLengthGeneratedId(self,id_group=None,default=None):
     """
     Get the last length id generated
-- 
2.30.9