summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic
diff options
context:
space:
mode:
authorRémi Rahir <rar@odoo.com>2020-02-19 13:07:33 +0000
committerRémi Rahir <rar@odoo.com>2020-02-27 20:01:19 +0000
commitc45f4ebc423ffbdbdc89826c9e91f468810fa40e (patch)
treedcf6fa38a1dd704cf31097ad5ca23ed3bc5e03f3 /addons/web/static/src/js/views/basic
parent202f7119aea638f871c82d71c47e62d1a1cedc80 (diff)
[FIX] website_forum: wrong user displayed on forum
The function to convert an answer to a comment was creating a new message with the create_uid of the current user instead of the original poster, therefore creating a mismatch between the create_uid and the user of the message author. Since the template 'website_forum.author_box' was designed to work with different objects (mail.message & forum.post), it displays the information of the object.create_uid which is not the correct user in this case. This commit ensures that we create the message with the correct user to avoid the mismatch. closes odoo/odoo#46486 X-original-commit: 20800955257c4f871cc21f8e21cd22c1a3b0fe9f Signed-off-by: Toufik Benjaa (tbe) <tbe@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions