-
- Downloads
[IMP] tools,website: correctly handle favicon and .ico files
Previously the image that we uploaded as a favicon of the website was not resized, so it could be extremely excessive in size and resolution, and it also was not guaranteed to be a square. Now we always resize it appropriately and save it as an ICO file. The default favicon is now applied to all websites instead of only the first. task-1958000 PR: #31811
Showing
- addons/website/data/website_data.xml 0 additions, 1 deletionaddons/website/data/website_data.xml
- addons/website/models/website.py 18 additions, 1 deletionaddons/website/models/website.py
- addons/website/tests/__init__.py 1 addition, 0 deletionsaddons/website/tests/__init__.py
- addons/website/tests/test_website_favicon.py 36 additions, 0 deletionsaddons/website/tests/test_website_favicon.py
- odoo/tools/image.py 5 additions, 2 deletionsodoo/tools/image.py
- odoo/tools/mimetypes.py 1 addition, 0 deletionsodoo/tools/mimetypes.py
addons/website/tests/test_website_favicon.py
0 → 100644
Please register or sign in to comment