[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
committed by Sylvain GARANCHER
parent 354bade837
commit 421bcda960

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