From 5f6f61c9ef4dc0606ec1d56443c920bc8501632d Mon Sep 17 00:00:00 2001
From: Romain Courteaud <romain@nexedi.com>
Date: Mon, 10 Sep 2007 16:52:05 +0000
Subject: [PATCH] Fix typo.

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

diff --git a/product/ERP5/Document/Event.py b/product/ERP5/Document/Event.py
index 8fc8f3b6e7..0751e81f79 100644
--- a/product/ERP5/Document/Event.py
+++ b/product/ERP5/Document/Event.py
@@ -84,8 +84,9 @@ class Event(EmailDocument, Movement):
       """
       return 1
 
-    security.declareProtected(Permissions.AccessContentsInformation, 'defQuantity')
-    def defQuantity(self):
+    security.declareProtected(Permissions.AccessContentsInformation, 
+                              'getQuantity')
+    def getQuantity(self):
       """
         Quantity is set automatically on Events.
       """
-- 
2.30.9