[Erp5-dev] bug report on Periodicity.py

Franck Martin franck.martin.nice at gmail.com
Tue Jul 11 10:31:10 CEST 2006


Hi everybody,

 I'm not sur but I think there is a mistake on "Periodicity" on 
"declareProtected" call:

--- Periodicity.py      2006-06-26 08:16:20.026375568 +0000
+++ Periodicity.py-patch        2006-07-11 07:45:02.869799408 +0000
@@ -166,7 +166,7 @@
      self.setAlarmDate(next_start_date)


-    security.declareProtected(Permissions.View, 'getWeekDayList')
+    security.declareProtected(Permissions.View, 'getAlarmDate')
    def getAlarmDate(self):
      """
      returns something like ['Sunday','Monday',...]




More information about the Erp5-dev mailing list