Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
7055 Vues
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
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
1
avr. 22
3008
0
mai 21
1645
1
mars 24
6984
0
mai 21
2040
2
mai 21
9169