-
- Downloads
[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#40483 Signed-off-by:Olivier Dony (odo) <odo@openerp.com>
addons/website/tests/test_attachment.py
0 → 100644
Please register or sign in to comment