Skip to content

Commit

Permalink
[NO-MERGE]base_report_to_printer:adhoc patch
Browse files Browse the repository at this point in the history
  • Loading branch information
jcadhoc committed Nov 14, 2024
1 parent 7f4e83b commit d4e4a88
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions base_report_to_printer/models/ir_actions_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ def _get_report_default_print_behaviour(self):

def behaviour(self):
self.ensure_one()
# Parche adhoc por pr: https://github.com/OCA/report-print-send/pull/367
self = self.with_context(skip_printer_exception=True)
printing_act_obj = self.env["printing.report.xml.action"]

result = self._get_user_default_print_behaviour()
Expand Down

0 comments on commit d4e4a88

Please sign in to comment.