Skip to content

Commit

Permalink
First fix precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
Gordack committed Jul 18, 2024
1 parent 67e88bf commit 0fcc13a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base_report_to_printer/models/ir_actions_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 0fcc13a

Please sign in to comment.