diff options
| author | Jeremy Kersten <jke@odoo.com> | 2020-05-11 09:52:41 +0000 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2020-05-11 13:04:39 +0000 |
| commit | 3e4b6f939d77114b6a946d68909cc159134c268c (patch) | |
| tree | 025726818f6580506c40ad7c23b9787b6c9558d7 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 889b525178a3f9b1855553c10c78e3c1b40c6efd (diff) | |
[FIX] website: use absolute url for theme image
Before this commit, url preview of a theme was theme_xx/static/yyy.png
Now we make this url absolue /theme_xx/static/yyy.png
It was the expected behavior, and since werkeug 15.0 utils.redirect() don't use
'/' anymore as root but the current path.
Without this fix, theme selector uses /web/image/<id>, and the location become
/web/image/theme_xx/static/yyy.png instead of /theme_xx/static/yyy.png
closes odoo/odoo#51018
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
