From 448ceb3c1e86525c205d78b737df4aa6408c0d78 Mon Sep 17 00:00:00 2001 From: Yannick Vaucher Date: Tue, 1 Oct 2013 16:12:50 +0200 Subject: [PATCH] [FIX] base_report_to_printer - mistake in params of print_direct --- 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 ec6fa4d..d474e73 100644 --- a/base_report_to_printer/printing.py +++ b/base_report_to_printer/printing.py @@ -233,7 +233,7 @@ class report_xml(orm.Model): options['raw'] = True return options - def print_direct(self, cr, uid, report_id, result, printer, format, context=None): + def print_direct(self, cr, uid, report_id, result, format, printer, context=None): user_obj = self.pool.get('res.users') fd, file_name = mkstemp() try: