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 = {