Skip to content

Commit

Permalink
[FIX]base_report_to_print_node: patch for OCA
Browse files Browse the repository at this point in the history
X-original-commit: f0703f7
  • Loading branch information
jcadhoc committed Dec 23, 2024
1 parent 34ed8bc commit fd9de12
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions base_report_to_print_node/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
# directory
##############################################################################
from . import printing_printer
from . import ir_actions_report
12 changes: 12 additions & 0 deletions base_report_to_print_node/models/ir_actions_report.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@


from odoo import models


class IrActionsReport(models.Model):
_inherit = "ir.actions.report"

def behaviour(self):
# Parche ADHOC por PR: https://github.com/OCA/report-print-send/pull/367
self = self.with_context(skip_printer_exception=True)
return super().behaviour()

0 comments on commit fd9de12

Please sign in to comment.