From f94d0e30ea44885d209c6ff0457305614b5eaf17 Mon Sep 17 00:00:00 2001 From: Lorenzo Battistini Date: Thu, 6 Dec 2012 15:48:47 +0100 Subject: [PATCH] [FIX] print_direct return value --- base_report_to_printer/printing.py | 1 + 1 file changed, 1 insertion(+) diff --git a/base_report_to_printer/printing.py b/base_report_to_printer/printing.py index 7bdb311..58e7a98 100755 --- a/base_report_to_printer/printing.py +++ b/base_report_to_printer/printing.py @@ -249,6 +249,7 @@ class report_xml(osv.osv): cmd = "lpr -P %s %s" % (printer_system_name,file_name) logger.notifyChannel("report", netsvc.LOG_INFO,"Printing job : '%s'" % cmd) os.system(cmd) + return True _inherit = 'ir.actions.report.xml' _columns = {