diff options
| author | Adrien Widart <awt@odoo.com> | 2020-11-23 08:18:52 +0000 |
|---|---|---|
| committer | Adrien Widart <awt@odoo.com> | 2020-11-23 08:24:22 +0000 |
| commit | ae0acf83cee73f6617200387bb923bf875e1830b (patch) | |
| tree | 997610bb472bef9dbb18490f0cf0807532a37153 /addons/mail/static/src/components/thread_view | |
| parent | 32ed8125aeb356e568d3c49ef7a04c0ff9e36169 (diff) | |
[FIX] portal: if no user photo, display placeholder
If the website header template uses the user's photo, and if this one does not exist, a 500-error is returned.
To reproduce the error:
(Need website)
1. Go to the website
2. Edit
3. Change the header template
- Select one that uses the user's photo
4. Save
5. Go to Settings > Users & Companies > Users
6. Select your account
7. Edit
8. Remove your photo, Save
9. Go back to the website
=> 500 error
When the user doesn't have any photo, the template uses the placeholder image.
OPW-2378269
closes odoo/odoo#62143
Signed-off-by: adwid <adwid@users.noreply.github.com>
Diffstat (limited to 'addons/mail/static/src/components/thread_view')
0 files changed, 0 insertions, 0 deletions
