From 7bee3c85e61476a87065ba446a757cf2ddca92d6 Mon Sep 17 00:00:00 2001 From: Maik Steinfeld Date: Mon, 4 Jan 2016 09:24:31 +0100 Subject: [PATCH] FIX: print with copies and installed printer_tray module Added new Argument to printer_tray also. --- printer_tray/printer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/printer_tray/printer.py b/printer_tray/printer.py index 33ed768..f2790cb 100644 --- a/printer_tray/printer.py +++ b/printer_tray/printer.py @@ -74,7 +74,7 @@ class Printer(models.Model): return vals @api.multi - def print_options(self, report, format): + def print_options(self, report, format, copies=1): """ Hook to define Tray """ printing_act_obj = self.env['printing.report.xml.action'] options = super(Printer, self).print_options(report, format)