Skip to Content
Menu
This question has been flagged
1 Atsakyti
7098 Rodiniai
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


Portretas
Atmesti
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


Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
bal. 22
3038
0
geg. 21
1658
1
kov. 24
7019
0
geg. 21
2061
2
geg. 21
9243