diff --git a/base_report_to_printer/models/ir_actions_report.py b/base_report_to_printer/models/ir_actions_report.py index 0b43e75d994..96604036047 100644 --- a/base_report_to_printer/models/ir_actions_report.py +++ b/base_report_to_printer/models/ir_actions_report.py @@ -128,8 +128,8 @@ def print_document(self, record_ids, data=None): if "lang" in data and data["lang"]: document, doc_format = getattr( - self.with_context(must_skip_send_to_printer=True, - lang=data["lang"]), method_name + self.with_context(must_skip_send_to_printer=True, lang=data["lang"]), + method_name, )(record_ids, data=data) else: document, doc_format = getattr(