[Erp5-report] r16234 - /erp5/trunk/products/ERP5/Document/Event.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Sep 10 18:52:05 CEST 2007


Author: romain
Date: Mon Sep 10 18:52:05 2007
New Revision: 16234

URL: http://svn.erp5.org?rev=16234&view=rev
Log:
Fix typo.

Modified:
    erp5/trunk/products/ERP5/Document/Event.py

Modified: erp5/trunk/products/ERP5/Document/Event.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Event.py?rev=16234&r1=16233&r2=16234&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Event.py (original)
+++ erp5/trunk/products/ERP5/Document/Event.py Mon Sep 10 18:52:05 2007
@@ -84,8 +84,9 @@
       """
       return 1
 
-    security.declareProtected(Permissions.AccessContentsInformation, 'defQuantity')
-    def defQuantity(self):
+    security.declareProtected(Permissions.AccessContentsInformation, 
+                              'getQuantity')
+    def getQuantity(self):
       """
         Quantity is set automatically on Events.
       """




More information about the Erp5-report mailing list