bugfix in the context to get the data from the binary field and not the size

bzr revid: stephane@tinyerp.com-20080918091101-8cnu8hsodxa4dyzb
This commit is contained in:
Stephane Wirtel 2008-09-18 11:11:01 +02:00
parent 98f1d94a94
commit c8298ab59f
1 changed files with 2 additions and 0 deletions

View File

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