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:
Guewen Baconnier
2015-01-05 09:25:40 +01:00

View File

@@ -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