diff options
| author | Simon Lejeune <sle@openerp.com> | 2014-05-21 12:59:05 +0200 |
|---|---|---|
| committer | Simon Lejeune <sle@openerp.com> | 2014-05-21 12:59:05 +0200 |
| commit | 1745c738eeac326a06f31d2fc4ecd0e0f71d5f86 (patch) | |
| tree | 6277c49334fb1118d547a50fbcf34683270f08c9 /addons/report/controllers/main.py | |
| parent | 4019b2b3345c044e41492404a2322c169b75a23e (diff) | |
[FIX] Report: double the default height/width of barcode image to avoid a blurred/unusable barcode once integrated in a report
Diffstat (limited to 'addons/report/controllers/main.py')
| -rw-r--r-- | addons/report/controllers/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
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>/<path:value>'], 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: <img t-att-src="'/report/barcode/QR/%s' % o.name"/> |
