mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
[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 """
|
||||
options = {}
|
||||
if format == 'raw':
|
||||
options['raw'] = True
|
||||
options['raw'] = 'True'
|
||||
return options
|
||||
|
||||
@api.multi
|
||||
|
||||
Reference in New Issue
Block a user