Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
10634 Vizualizări

Hi, 

I'm using Odoo.sh to develop our platform. I'm still getting used to the system.

I'm trying to reference a number of .png files within some directories I have set for our website frontend. The directory structure is very important to show the correct images depending on user interaction. I am struggling to find a place where these can be accessed. Do I need to reference every single file within the assets.xml of my theme or is there a directory I can link to the root easily? I've tried searching for the answer but I have found little to no information. 

Thanks!


Imagine profil
Abandonează
Autor Cel mai bun răspuns

I discovered the answer now. When using any external file for the theme. It will be bundled as long as you define the source as "/theme_directory/....", no matter if the language is JS or XML or HTML

Imagine profil
Abandonează
Cel mai bun răspuns

Website themes are modules as any others also, and they should have the same recommended module structure. See 

Imagine profil
Abandonează