[MERGE] fix calendar

bzr revid: fp@tinyerp.com-20120920072641-ur5gl71k8dunzwos
This commit is contained in:
Fabien Pinckaers
2012-09-20 09:26:41 +02:00
+4 -1
View File
@@ -1431,7 +1431,10 @@ rule or repeating pattern of time to exclude from the recurring rule."),
if r['class']=='private':
for f in r.keys():
if f not in ('id','date','date_deadline','duration','user_id','state'):
r[f] = False
if isinstance(r[f], list):
r[f] = []
else:
r[f] = False
if f=='name':
r[f] = _('Busy')