[FIX] Allow other users to read field recurrent_id_date from private event, else we cannot see that this event is excluded from a recurrence
bzr revid: jke@openerp.com-20140228143930-3eeam1a3676kgv4i
This commit is contained in:
@@ -1515,7 +1515,7 @@ class calendar_event(osv.Model):
|
||||
continue
|
||||
if r['class'] == 'private':
|
||||
for f in r.keys():
|
||||
if f not in ('id', 'date', 'date_deadline', 'duration', 'user_id', 'state', 'interval', 'count'):
|
||||
if f not in ('id', 'date', 'date_deadline', 'duration', 'user_id', 'state', 'interval', 'count', 'recurrent_id_date'):
|
||||
if isinstance(r[f], list):
|
||||
r[f] = []
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user