[FIX] Bug #19 avoid crash when using 'raw' option

This commit is contained in:
Alexis de Lattre
2014-12-28 01:36:12 +01:00
parent 97f11a20dc
commit 7bac04b770

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