Skip to main content

Allows to set a custom shortcut icon (aka favicon)

Project description

License: AGPL-3

Custom shortcut icon (favicon)

This module was written to allow you to customize your Odoo instance’s shortcut icon (aka favicon). This is useful for branding purposes, but also for integrators who have many different Odoo instances running and need to see at a glance which browser tab does what.

More info about favicon: https://en.wikipedia.org/wiki/Favicon

Configuration

Upload your favicon (16x16, 32x32, 64x64 or “as big as possible”) on the company form. The file format would be ico, gif or png with 16x16, 32x32 or 64x64 pixels and 16 colors. Highers resolutions or colors support depends on the used browser, but most modern browsers do.

Note that most browsers cache favicons basically forever, so if you want your icon to show up, you’ll most probably have to delete you browser cache. Some browsers can refresh the favicon, accessing the URL <base_url>/web_favicon/favicon.

You have a sample SVG that can be used as template for generating your icon in /static/src/img/master_original_favicon.svg. You can also search for some favicon generators across the web.

To allow a user to edit the favicon it has to be member of group “Administration / Settings”.

Usage

Try me on Runbot

Known issues / Roadmap

  • Allow to upload some big icon (preferrably SVG or the like) and generate all the icons from it

  • Generate icons suitable for mobile devices and web apps (see /static/src/img/ folder inside the module for a sample of the possible current formats.

  • Put the icon definition at system level, not at company level. It doesn’t make sense (as the icon is cached) to have a different icon per company.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback here.

Credits

Contributors

Maintainer

Odoo Community Association

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

To contribute to this module, please visit https://odoo-community.org.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

odoo11_addon_web_favicon-11.0.1.0.1-py2.py3-none-any.whl (72.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file odoo11_addon_web_favicon-11.0.1.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for odoo11_addon_web_favicon-11.0.1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 67bb08a109fd3dea1bc9756594bf0bcc7154dc8f8dcb6b8275823b191c5f1293
MD5 69faf550a2bdb442fb494e38c9e9db0b
BLAKE2b-256 a6a675406fd4272eab731130ed436f73102f56b779982deb9c84555bb6ea6062

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page