[FIX]:groupby printscreen reports

bzr revid: nch@tinyerp.com-20100629120400-x4f9wss4dxgy30sk
This commit is contained in:
nch@tinyerp.com 2010-06-29 17:34:00 +05:30
parent 505bbd1dcc
commit 57c50ea8e9
1 changed files with 2 additions and 0 deletions

View File

@ -84,6 +84,8 @@ class report_printscreen_list(report_int):
for f in fields_order:
if f not in rec:
rec.update({f:False})
elif isinstance(rec[f], tuple):
rec[f] = rec[f][1]
rows.append(rec)
groupby = (rec.get('__context', {})).get('group_by',[])
domain = rec.get('__domain', [])