From c8298ab59fc417d5c0636de86bfd83c476070c29 Mon Sep 17 00:00:00 2001 From: Stephane Wirtel Date: Thu, 18 Sep 2008 11:11:01 +0200 Subject: [PATCH] bugfix in the context to get the data from the binary field and not the size bzr revid: stephane@tinyerp.com-20080918091101-8cnu8hsodxa4dyzb --- bin/report/report_sxw.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/report/report_sxw.py b/bin/report/report_sxw.py index e54fabded1b..5b9a78c630a 100644 --- a/bin/report/report_sxw.py +++ b/bin/report/report_sxw.py @@ -566,6 +566,8 @@ class report_sxw(report_rml): if not context: context={} context = context.copy() + context['get_binary_size'] = False + pool = pooler.get_pool(cr.dbname) ir_actions_report_xml_obj = pool.get('ir.actions.report.xml') report_xml_ids = ir_actions_report_xml_obj.search(cr, uid,