Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
19807 Tampilan

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

Avatar
Buang
Jawaban Terbai

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

Avatar
Buang
Penulis

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!

Post Terkait Replies Tampilan Aktivitas
3
Mar 15
4461
6
Mar 21
15152
4
Jul 15
4350
1
Apr 15
8592
2
Mar 15
7590