[16.0][FIX] report_substitute: adding change of main method

This commit is contained in:
Matias Peralta
2024-07-24 17:47:54 -03:00
parent 4fd8e1434b
commit 655a82247f

View File

@@ -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 = []