mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
FIX: print with copies and installed printer_tray module
Added new Argument to printer_tray also.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user