[FIX] report engine: context argument was passed at a wrong position. Now it's passed as a named argument.
bzr revid: olt@tinyerp.com-20090821070123-34lk0jtabi6wxlkw
This commit is contained in:
parent
3b720c0435
commit
58aa4e10be
|
@ -536,7 +536,9 @@ class report_sxw(report_rml, preprocess.report):
|
|||
sxw_io.close()
|
||||
return (final_op, report_type)
|
||||
|
||||
def create_single_html2html(self, cr, uid, ids, data, report_xml, context={}):
|
||||
def create_single_html2html(self, cr, uid, ids, data, report_xml, context=None):
|
||||
if not context:
|
||||
context = {}
|
||||
context = context.copy()
|
||||
report_type = 'html'
|
||||
context['parents'] = html_parents
|
||||
|
|
Loading…
Reference in New Issue