mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
Merge pull request #20 from akretion/8.0-fix-raw-bug-19
[FIX] Bug #19 avoid crash when using 'raw' option
This commit is contained in:
@@ -111,7 +111,7 @@ class PrintingPrinter(models.Model):
|
|||||||
""" Hook to set print options """
|
""" Hook to set print options """
|
||||||
options = {}
|
options = {}
|
||||||
if format == 'raw':
|
if format == 'raw':
|
||||||
options['raw'] = True
|
options['raw'] = 'True'
|
||||||
return options
|
return options
|
||||||
|
|
||||||
@api.multi
|
@api.multi
|
||||||
|
|||||||
Reference in New Issue
Block a user