summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/xml/snippets.xml
diff options
context:
space:
mode:
authorJeremy Kersten <jke@odoo.com>2019-11-18 11:38:14 +0000
committerJeremy Kersten <jke@odoo.com>2019-11-25 09:02:18 +0000
commit39c75792774053031dc97782e0407ba7ea6fc109 (patch)
treea995d72b93b94984df8b3e333ec8cb57b0734e56 /addons/web_editor/static/src/xml/snippets.xml
parentdc77f67cad95d0b0bd316cbdfc36a380f2daf73d (diff)
[FIX] ir_http: support redirect pitcure for theme
Missing / wrong indented code during rewrite of binary controller: https://github.com/odoo/odoo/commit/7d85ab1#diff-1407a8ce197a04eefaefa26c127a4418L343-L348 In case you have: <record id="s_cover_default_image" model="theme.ir.attachment"> <field name="key">website.s_cover_default_image</field> <field name="url">/web/image/theme_treehouse.bg_img_15</field> </record> theme_treehouse.bg_img_15 will be not found in /web addons. So we need a 301 redirect too. opw-live How to reproduce: odoo.com/trial > Website > Install theme Clean Drop first snippet > background is 404 closes odoo/odoo#40605 X-original-commit: b8ce93e4eb397e1b7a0e1d408d61d2f283223fb9 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'addons/web_editor/static/src/xml/snippets.xml')
0 files changed, 0 insertions, 0 deletions