diff --git a/addons/report/controllers/main.py b/addons/report/controllers/main.py index 5620819c1a1..756aa8fb113 100644 --- a/addons/report/controllers/main.py +++ b/addons/report/controllers/main.py @@ -66,7 +66,7 @@ class ReportController(Controller): at the bottom of the output image """ try: - width, height, humanreadable = int(width), int(height), bool(humanreadable) + width, height, humanreadable = int(width), int(height), bool(int(humanreadable)) barcode = createBarcodeDrawing( type, value=value, format='png', width=width, height=height, humanReadable = humanreadable