Browse Source
Fixes the following: ```Traceback (most recent call last): File "/opt/odoo-10.0/addons/report/controllers/main.py", line 100, in report_download response = self.report_routes(reportname, converter='pdf', **dict(data)) File "/opt/odoo-10.0/src/odoo-10.0/odoo/http.py", line 504, in response_wrap response = f(*args, **kw) File "/opt/odoo-10.0/src/odoo-10.0/addons/report/controllers/main.py", line 45, in report_routes pdf = report_obj.with_context(context).get_pdf(docids, reportname, data=data) File "/opt/odoo-10.0/src/oca/mis_builder/report/mis_report_instance_qweb.py", line 23, in get_pdf return super(Report, self.with_context(ctx)).get_pdf( UnboundLocalError: local variable 'ctx' referenced before assignment ```pull/270/head
Andrea Stirpe
8 years ago
committed by
GitHub
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue