From 1745c738eeac326a06f31d2fc4ecd0e0f71d5f86 Mon Sep 17 00:00:00 2001 From: Simon Lejeune Date: Wed, 21 May 2014 12:59:05 +0200 Subject: [PATCH] [FIX] Report: double the default height/width of barcode image to avoid a blurred/unusable barcode once integrated in a report --- 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 d3a683cccdc..800c10140b6 100644 --- a/addons/report/controllers/main.py +++ b/addons/report/controllers/main.py @@ -64,7 +64,7 @@ class ReportController(Controller): # Misc. route utils #------------------------------------------------------ @route(['/report/barcode', '/report/barcode//'], type='http', auth="user") - def report_barcode(self, type, value, width=300, height=50): + def report_barcode(self, type, value, width=600, height=100): """Contoller able to render barcode images thanks to reportlab. Samples: