Files
odoo_source/addons/test_mail_full
Maryam Kia 6cad45d926 [FIX] portal: access avatar with hash and pid
In portal chatter, user could be authenticated with `access_token` or `hash and
pid`. The problem is that `portal_avatar()` only checks the access_token, so if
it doesn't have the access token but the hash and pid, it misses the user's
avatar (PR #141414).
This commit adds these two parameters to `portal_avatar` controller to cover all
 cases of authentication in portal chatter messages.

closes odoo/odoo#150878

X-original-commit: ab932abc3b3fd814b21282dd863fe44bfb177eb8
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2024-01-24 17:49:03 +00:00
..
…
…