From 57c50ea8e9c816b665de37624b86e44bde0faddb Mon Sep 17 00:00:00 2001 From: "nch@tinyerp.com" <> Date: Tue, 29 Jun 2010 17:34:00 +0530 Subject: [PATCH] [FIX]:groupby printscreen reports bzr revid: nch@tinyerp.com-20100629120400-x4f9wss4dxgy30sk --- bin/report/printscreen/ps_list.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/report/printscreen/ps_list.py b/bin/report/printscreen/ps_list.py index 87e04d4768d..675f1455ec7 100644 --- a/bin/report/printscreen/ps_list.py +++ b/bin/report/printscreen/ps_list.py @@ -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', [])