From 655a82247f8ecc76d47f13cd8b1b038ae8c0459d Mon Sep 17 00:00:00 2001 From: Matias Peralta Date: Wed, 24 Jul 2024 17:47:54 -0300 Subject: [PATCH] [16.0][FIX] report_substitute: adding change of main method --- report_substitute/wizards/mail_compose_message.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/report_substitute/wizards/mail_compose_message.py b/report_substitute/wizards/mail_compose_message.py index c1bf872ed..f7fb80067 100644 --- a/report_substitute/wizards/mail_compose_message.py +++ b/report_substitute/wizards/mail_compose_message.py @@ -9,7 +9,7 @@ class MailComposeMessage(models.TransientModel): _inherit = "mail.compose.message" @api.onchange("template_id") - def onchange_template_id_wrapper(self): + def _onchange_template_id_wrapper(self): if self.template_id: report_template = self.template_id.report_template active_ids = []