diff --git a/addons/report/controllers/main.py b/addons/report/controllers/main.py index 65080d0be19..5cff7b4aae2 100644 --- a/addons/report/controllers/main.py +++ b/addons/report/controllers/main.py @@ -83,7 +83,7 @@ class ReportController(Controller): try: width, height = int(width), int(height) barcode = createBarcodeDrawing( - type, value=value, format='png', width=width, height=height, humanReadable=True + type, value=value, format='png', width=width, height=height ) barcode = barcode.asString('png') except (ValueError, AttributeError):