Commit 0c26989f authored by Romain Courteaud's avatar Romain Courteaud

Fix security declaration (thanks to

Franck Martin).


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8378 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c9976aef
......@@ -166,7 +166,7 @@ class Periodicity(Base):
self.setAlarmDate(next_start_date)
security.declareProtected(Permissions.View, 'getWeekDayList')
security.declareProtected(Permissions.View, 'getAlarmDate')
def getAlarmDate(self):
"""
returns something like ['Sunday','Monday',...]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment