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