geospatial
geospatial copied to clipboard
[17.0] Web icon for modules not accesible when web_responsive is also installed
Affected Modules
- base_geoengine
- base_geoengine_demo
Description
In these modules, the web_icon attribute for certain menu items references a path in /images/*.png, which is not accessible by the web application. Consequently, the icons do not appear as intended.
Steps to Reproduce
- Install one of the modules (e.g., base_geoengine or base_geoengine_demo).
- Install the module web_responsive.
- Open apps selector.
Expected Behavior
The icons should be displayed properly in the web interface, as any other modules.
Possible Cause
By default in Odoo, files located under /static directories are served as static assets. Any icon or image stored exclusively in a path like /images/*.png may be inaccessible because the web server is not configured to serve that directory.
Proposed Solution
Move the image files to a /static folder within the module (for example, /static/img) and update the web_icon paths accordingly.