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:
@@ -249,6 +249,7 @@ class report_xml(osv.osv):
|
|||||||
cmd = "lpr -P %s %s" % (printer_system_name,file_name)
|
cmd = "lpr -P %s %s" % (printer_system_name,file_name)
|
||||||
logger.notifyChannel("report", netsvc.LOG_INFO,"Printing job : '%s'" % cmd)
|
logger.notifyChannel("report", netsvc.LOG_INFO,"Printing job : '%s'" % cmd)
|
||||||
os.system(cmd)
|
os.system(cmd)
|
||||||
|
return True
|
||||||
|
|
||||||
_inherit = 'ir.actions.report.xml'
|
_inherit = 'ir.actions.report.xml'
|
||||||
_columns = {
|
_columns = {
|
||||||
|
|||||||
Reference in New Issue
Block a user