Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
19680 Widoki

Is it possible to host html files on the Odoo server? I basically want to access the html file like this:

http://0.0.0.0:8069/path-file-on-system/filename.html

Awatar
Odrzuć
Najlepsza odpowiedź

Yes it is possible. For example, html file in stock module:

https://www.odoo.com/stock/static/description/index.html

folder static is dedicated them

Awatar
Odrzuć
Autor

This is perfect ! Thanks. But I noticed that I need to create a sub folder in static/src/some-folder and place the file here, for it to load. I will double check it. Thanks a lot for your help!

Powiązane posty Odpowiedzi Widoki Czynność
3
mar 15
4344
6
mar 21
15005
4
lip 15
4279
1
kwi 15
8487
2
mar 15
7476