diff options
| author | Thibault Delavallée <tde@odoo.com> | 2018-02-13 12:27:18 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2018-02-26 12:15:31 +0100 |
| commit | 74d4b3902d51bf805f87bfd853f54407137b0ac3 (patch) | |
| tree | 2b3210d56faece2187eee20eb7f1c6fdd1079286 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | a6c187a01cc3496fddc7eb4a18702dcf6f3241d2 (diff) | |
[REF] mail: consider body in message_post is always html
Purpose of this commit is to simplify a bit message_post API. It has
a content_subtype parameter allowing to receive plaintext content.
It is then automatically converted into html.
This commit removes the parameter and consider the content is always
html. Code calling message_post should handle the conversion. In Odoo
the only use was in the chat_post controller that now perform the
plaintext to html conversion before calling message_post.
This commit is purely technical and does not hold any functional change.
Purpose is to clean code in order to prepare future changes in mail
application.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
