İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
7434 Görünümler
Hi, is it possible to create a public url for images in Odoo?

I have this url myodoo:port/web/image?model=product&id=1&field=img, but I can only see the image if I am logged in Odoo.

Do you know if a route can be generated so that everyone can see the image?

Thank you


Avatar
Vazgeç
En İyi Yanıt

You can use by overriding create method and setting public to True, see:

https://www.odoo.com/forum/help-1/how-to-set-attachments-to-public-201483


Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Nis 22
3261
0
May 21
1783
1
Nis 24
7358
0
May 21
2220
2
May 21
9735