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
parent fa77924912
commit 00fbd09338
3 changed files with 6 additions and 5 deletions

View File

@@ -35,5 +35,5 @@ class Report(models.Model):
action = data['action']
printer = data['printer']
if action != 'client' and result:
printer.print_document(result, report.report_type)
printer.print_document(report, result, report.report_type)
return result