From 7bac04b770c4289877c2d77e865342600f1138a7 Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Sun, 28 Dec 2014 01:36:12 +0100 Subject: [PATCH] [FIX] Bug #19 avoid crash when using 'raw' option --- base_report_to_printer/printing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base_report_to_printer/printing.py b/base_report_to_printer/printing.py index 0a8b89f..e73b380 100644 --- a/base_report_to_printer/printing.py +++ b/base_report_to_printer/printing.py @@ -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