[FIX] print_direct return value

This commit is contained in:
Lorenzo Battistini
2012-12-06 15:48:47 +01:00
committed by Sylvain GARANCHER
parent 6930c5cf6e
commit b452b33b38

View File

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