mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
[FIX] base_report_to_printer - mistake in params of print_direct
This commit is contained in:
@@ -233,7 +233,7 @@ class report_xml(orm.Model):
|
|||||||
options['raw'] = True
|
options['raw'] = True
|
||||||
return options
|
return options
|
||||||
|
|
||||||
def print_direct(self, cr, uid, report_id, result, printer, format, context=None):
|
def print_direct(self, cr, uid, report_id, result, format, printer, context=None):
|
||||||
user_obj = self.pool.get('res.users')
|
user_obj = self.pool.get('res.users')
|
||||||
fd, file_name = mkstemp()
|
fd, file_name = mkstemp()
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user