mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
Merge pull request #85 from syleam/9.0-backport-format-fix
[9.0] Backport the format parameter fix
This commit is contained in:
@@ -117,10 +117,11 @@ class PrintingPrinter(models.Model):
|
||||
finally:
|
||||
os.close(fd)
|
||||
|
||||
return self.print_file(file_name, report=report, copies=copies)
|
||||
return self.print_file(
|
||||
file_name, report=report, copies=copies, format=format)
|
||||
|
||||
@api.multi
|
||||
def print_file(self, file_name, report=None, copies=1):
|
||||
def print_file(self, file_name, report=None, copies=1, format=None):
|
||||
""" Print a file """
|
||||
self.ensure_one()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user