[IMP]: base_calendar: Minor Improvements

bzr revid: rpa@tinyerp.com-20100813130105-mqsvc3d2q7hj1vlc
This commit is contained in:
rpa (Open ERP)
2010-08-13 18:31:05 +05:30
parent c471c63841
commit 20b96b8f61
+1 -1
View File
@@ -1441,13 +1441,13 @@ true, it will allow you to hide the event alarm information without removing it.
data = self.read(cr, uid, event_id, ['date', 'date_deadline', \
'rrule', 'duration'])
if data.get('rrule'):
data.update(vals)
data.update({
'recurrent_uid': real_event_id,
'recurrent_id': data.get('date'),
'rrule_type': 'none',
'rrule': ''
})
data.update(vals)
new_id = self.copy(cr, uid, real_event_id, default=data, context=context)
context.update({'active_id': new_id, 'active_ids': [new_id]})
continue