From d07b59d4baf4221d932c34832f6e73fbc17d7fdc Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 2 Jan 2017 15:04:14 +0100 Subject: [PATCH] barcode controller: Remove quiescence zone left and right When creating reports with barcode labels, there is simply no space for excessive quiescence zones. Let's give control of layout to the report template, not to the barcode renderer. --- addons/report/controllers/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/report/controllers/main.py b/addons/report/controllers/main.py index 56236990316..a7de64f61c4 100644 --- a/addons/report/controllers/main.py +++ b/addons/report/controllers/main.py @@ -89,7 +89,7 @@ class ReportController(Controller): width, height, humanreadable = int(width), int(height), bool(humanreadable) barcode = createBarcodeDrawing( type, value=value, format='png', width=width, height=height, - humanReadable = humanreadable + humanReadable = humanreadable, quiet=0 ) barcode = barcode.asString('png') except (ValueError, AttributeError):