We need the report in print_document and print options (needed in

printer_tray)
This commit is contained in:
Guewen Baconnier
2014-11-17 14:38:34 +01:00
committed by Sylvain GARANCHER
parent ad5e8b6e46
commit 39bd5e94e4
3 changed files with 6 additions and 5 deletions

View File

@@ -62,7 +62,8 @@ def exp_report_get(db, uid, report_id):
if (self_reports and self_reports.get(report_id)
and self_reports[report_id].get('result')
and self_reports[report_id].get('format')):
printer.print_document(self_reports[report_id]['result'],
printer.print_document(report,
self_reports[report_id]['result'],
self_reports[report_id]['format'])
# FIXME "Warning" removed as it breaks the workflow
# it would be interesting to have a dialog box to