Skip to Content
मेन्यू
This question has been flagged
1 Reply
7202 Views
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
Discard
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
Discard
Related Posts Replies Views Activity
1
अप्रैल 22
3122
0
मई 21
1720
1
मार्च 24
7161
0
मई 21
2118
2
मई 21
9424