Merge pull request #47 from InteroTechnologies/8.0

FIX: print with copies and installed printer_tray module
This commit is contained in:
Pedro M. Baeza
2016-03-01 16:57:20 +01:00

View File

@@ -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)