[REF] base_calendar: Removed unnecessary code.
bzr revid: uco@tinyerp.com-20110120055301-ywx2xqm37kdu0zl9
This commit is contained in:
@@ -1080,8 +1080,6 @@ class calendar_event(osv.osv):
|
||||
for datas in self.read(cr, uid, ids, context=context):
|
||||
event = datas['id']
|
||||
if datas.get('rrule_type'):
|
||||
if datas['rrule_type']=='daily_working':
|
||||
datas.update({'rrule_type': 'weekly'})
|
||||
if datas.get('rrule_type') == 'none':
|
||||
result[event] = False
|
||||
cr.execute("UPDATE %s set exrule=Null where id=%%s" % self._table,( event,))
|
||||
|
||||
Reference in New Issue
Block a user