コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
7038 ビュー
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
2998
0
5月 21
1642
1
3月 24
6978
0
5月 21
2036
2
5月 21
9161