diff --git a/base_report_to_label_printer/tests/test_ir_actions_report.py b/base_report_to_label_printer/tests/test_ir_actions_report.py index 25bab84..aafefe8 100644 --- a/base_report_to_label_printer/tests/test_ir_actions_report.py +++ b/base_report_to_label_printer/tests/test_ir_actions_report.py @@ -10,7 +10,9 @@ class TestIrActionsReport(TransactionCase): super().setUpClass() cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True)) - cls.Model = cls.env["ir.actions.report"] + cls.Model = cls.env["ir.actions.report"].with_context( + skip_printer_exception=True + ) cls.server = cls.env["printing.server"].create({}) def new_printer(self):