From b00c963cd7608df319b09ce8d6dae299d80b1139 Mon Sep 17 00:00:00 2001 From: Yannick Vaucher Date: Tue, 1 Oct 2013 15:32:52 +0200 Subject: [PATCH] [TYPO] --- base_report_to_printer/printing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base_report_to_printer/printing.py b/base_report_to_printer/printing.py index 9fd2cbf..683bdab 100644 --- a/base_report_to_printer/printing.py +++ b/base_report_to_printer/printing.py @@ -248,7 +248,7 @@ class report_xml(orm.Model): printer_system_name = printer.system_name connection = cups.Connection() - options = self.set_options(cr, uid, report_id, printer, format, context=context) + options = self.set_print_options(cr, uid, report_id, format, context=context) connection.printFile(printer_system_name, file_name, file_name, options={}) logger = logging.getLogger('base_report_to_printer')