Bug #902193:opening task in web - error ? Added Missing default dict,get param in case of miss in dict search.

bzr revid: fp@tinyerp.com-20111219222737-s8y3ktpcr8nary1l
This commit is contained in:
Fabien Pinckaers
2011-12-19 23:27:37 +01:00
+1 -1
View File
@@ -1417,7 +1417,7 @@ rule or repeating pattern of time to exclude from the recurring rule."),
for groupname in groupby:
if re.get(groupname + "_count"):
del re[groupname + "_count"]
re.get('__context').update({'virtual_id' : virtual_id})
re.get('__context', {}).update({'virtual_id' : virtual_id})
return res
def read(self, cr, uid, ids, fields=None, context=None, load='_classic_read'):