diff --git a/product/ERP5/Document/CalendarPeriod.py b/product/ERP5/Document/CalendarPeriod.py index 98168a7886f9768f114aab18eef749548de99e19..be354e9235dfa6b3b09c15cc5b0f95baad036058 100644 --- a/product/ERP5/Document/CalendarPeriod.py +++ b/product/ERP5/Document/CalendarPeriod.py @@ -198,18 +198,3 @@ class CalendarPeriod(Movement, Periodicity): else: next_start_date += 1 return next_start_date - - security.declareProtected(Permissions.AccessContentsInformation, - 'getIntIndex') - def getIntIndex(self, default=None, *args, **kw): - """ - Return a default value of the int index, based on the ID - """ - # XXX This method may be defined on a higher level document - result = self._baseGetIntIndex(*args, **kw) - if result in [None, '']: - try: - result = int(self.getId()) - except ValueError: - result = default - return result