FIX: print with copies and installed printer_tray module

Added new Argument to printer_tray also.
This commit is contained in:
Maik Steinfeld
2016-01-04 09:24:31 +01:00
parent 86e9e05060
commit 7bee3c85e6

View File

@@ -74,7 +74,7 @@ class Printer(models.Model):
return vals return vals
@api.multi @api.multi
def print_options(self, report, format): def print_options(self, report, format, copies=1):
""" Hook to define Tray """ """ Hook to define Tray """
printing_act_obj = self.env['printing.report.xml.action'] printing_act_obj = self.env['printing.report.xml.action']
options = super(Printer, self).print_options(report, format) options = super(Printer, self).print_options(report, format)