geospatial icon indicating copy to clipboard operation
geospatial copied to clipboard

[17.0] Web icon for modules not accesible when web_responsive is also installed

Open sersanchus opened this issue 1 year ago • 0 comments

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

  1. Install one of the modules (e.g., base_geoengine or base_geoengine_demo).
  2. Install the module web_responsive.
  3. Open apps selector.

Image

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.

sersanchus avatar Feb 07 '25 16:02 sersanchus