Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
7072 Prikazi
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
Opusti
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
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
apr. 22
3016
0
maj 21
1651
1
mar. 24
6995
0
maj 21
2043
2
maj 21
9195