From ed3792fdeb003b4032035973d3e8dd6e3a9978b3 Mon Sep 17 00:00:00 2001 From: Obay Abdelgadir Date: Thu, 31 Jan 2019 09:11:44 +0000 Subject: [PATCH] [FIX] doc: specify correct field name in mail closes odoo/odoo#30718 --- addons/mail/models/mail_thread.py | 2 +- doc/reference/mixins.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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