diff --git a/addons/mail/models/mail_thread.py b/addons/mail/models/mail_thread.py index 7cc7bfec060..1220026c0b2 100644 --- a/addons/mail/models/mail_thread.py +++ b/addons/mail/models/mail_thread.py @@ -1796,7 +1796,7 @@ class MailThread(models.AbstractModel): if False/0, mail.message model will also be set as False :param str body: body of the message, usually raw HTML that will be sanitized - :param str type: see mail_message.type field + :param str type: see mail_message.message_type field :param str content_subtype:: if plaintext: convert body into html :param int parent_id: handle reply to a previous message by adding the parent partners to the message in case of private discussion diff --git a/doc/reference/mixins.rst b/doc/reference/mixins.rst index c172c79dd2a..ca3673ff506 100644 --- a/doc/reference/mixins.rst +++ b/doc/reference/mixins.rst @@ -84,7 +84,7 @@ to manage followers on your record: :param str body: body of the message, usually raw HTML that will be sanitized - :param str message_type: see mail_message.type field + :param str message_type: see mail_message.message_type field :param str content_subtype: if plaintext: convert body into html :param int parent_id: handle reply to a previous message by adding the parent partners to the message in case of private discussion