From d5ded262fa4a795495ee17e845711b808ee17d5c Mon Sep 17 00:00:00 2001 From: "nch@tinyerp.com" <> Date: Fri, 9 Apr 2010 15:58:15 +0530 Subject: [PATCH] [REF]:printscreen improvements bzr revid: nch@tinyerp.com-20100409102815-zf7p8xg2yug8wjdh --- bin/report/printscreen/ps_list.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/report/printscreen/ps_list.py b/bin/report/printscreen/ps_list.py index a25adb975f6..0dea67382fe 100644 --- a/bin/report/printscreen/ps_list.py +++ b/bin/report/printscreen/ps_list.py @@ -38,12 +38,11 @@ class report_printscreen_list(report_int): def _parse_node(self, root_node): result = [] - groupby = self.context.get('group_by',[]) for node in root_node: field_name = node.get('name') if not eval(str(node.attrib.get('invisible',False)),{'context':self.context}): if node.tag == 'field': - if field_name in groupby: + if field_name in self.groupby: continue result.append(field_name) else: