[FIX] mail: remove unnecessary model decorator

A method that actually runs on recordsets should not have a model decorator.
Even if there is no issue this is may be confusing.

Task-2710804 (Mail: Clean Mail.Thread API)

Part-of: odoo/odoo#82167
This commit is contained in:
Thibault Delavallée
2022-01-31 17:47:31 +00:00
parent 271859b552
commit ef7e6009f8
-1
View File
@@ -2350,7 +2350,6 @@ class MailThread(models.AbstractModel):
return True
@api.model
def _notify_by_email_prepare_rendering_context(self, message, msg_vals=False, model_description=False,
force_email_company=False, force_email_lang=False):
""" Prepare rendering context for notification email.