[FIX] developer: document changes of message_post API

closes odoo/documentation#5119

X-original-commit: 8bf2d026b7
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
This commit is contained in:
Martin Trigaux 2023-07-11 16:14:44 +00:00
parent 89b550252a
commit 0031e37c63

View File

@ -81,8 +81,8 @@ to manage followers on your record:
Post a new message in an existing thread, returning the new
mail.message ID.
:param str body: body of the message, usually raw HTML that will
be sanitized
:param str | Markup body: body of the message. Will be escaped if `str`. Use
a :class:`~markupsafe.Markup` object for HTML content.
:param str message_type: see mail_message.message_type field
:param int parent_id: handle reply to a previous message by adding the
parent partners to the message in case of private discussion