跳至内容
菜单
此问题已终结
1 回复
7242 查看
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


形象
丢弃
最佳答案

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


形象
丢弃
相关帖文 回复 查看 活动
1
4月 22
3165
0
5月 21
1730
1
3月 24
7192
0
5月 21
2133
2
5月 21
9503