mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
[FIX] print_direct return value
This commit is contained in:
committed by
Sylvain GARANCHER
parent
6930c5cf6e
commit
b452b33b38
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user