[REF]:printscreen improvements

bzr revid: nch@tinyerp.com-20100409102815-zf7p8xg2yug8wjdh
This commit is contained in:
nch@tinyerp.com 2010-04-09 15:58:15 +05:30
parent b882309f71
commit d5ded262fa
1 changed files with 1 additions and 2 deletions

View File

@ -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: