Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
6874 Zobrazení
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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
dub 22
2906
0
kvě 21
1565
1
bře 24
6766
0
kvě 21
1980
2
kvě 21
8933