Skip to Content
Menú
This question has been flagged
1 Respondre
7473 Vistes
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
Descartar
Best Answer

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
Descartar
Related Posts Respostes Vistes Activitat
1
d’abr. 22
3278
0
de maig 21
1797
1
d’abr. 24
7381
0
de maig 21
2247
2
de maig 21
9772