Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
7062 Visualizzazioni
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
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
apr 22
3011
0
mag 21
1649
1
mar 24
6987
0
mag 21
2040
2
mag 21
9178