mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
We need the report in print_document and print options (needed in
printer_tray)
This commit is contained in:
committed by
Sylvain GARANCHER
parent
ad5e8b6e46
commit
39bd5e94e4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user