[FIX] printscreen: pass domain in read_group

bzr revid: hmo@tinyerp.com-20100216092307-4mnarss8vmd3k54o
This commit is contained in:
Harry (Open ERP)
2010-02-16 14:53:07 +05:30
parent 4898b74704
commit f5914d0033
+1 -1
View File
@@ -80,7 +80,7 @@ class report_printscreen_list(report_int):
if context.get('group_by',False):
fields_order.remove(context['group_by'])
fields_order.insert(0, context['group_by'])
re = model.read_group(cr, uid, [], fields_order, context.get('group_by',False),0,None,context)
re = model.read_group(cr, uid, [('id','in',ids)], fields_order, context.get('group_by',False),0,None,context)
rows=[]
for r in re:
for f in fields_order: