跳至內容
選單
此問題已被標幟
1 回覆
7101 瀏覽次數
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
3042
0
5月 21
1665
1
3月 24
7021
0
5月 21
2069
2
5月 21
9250