コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
2411 ビュー

The Many2One widget allows external links to be opened for all fields. How can this be restricted?

アバター
破棄
最善の回答

Hi,
If you need to remove it globally, you can check out this OCA App:    https://apps.odoo.com/apps/modules/16.0/web_m2x_options/

Thanks

アバター
破棄
著作者

Hi Niyas,
Thanks for your response.
That module restricts only editing and creating access, not opening external links from many2one.

最善の回答

Hi Vishnu,

options='{"no_open": True}' is used to restrict the many2one field from opening up the record.

Syntax:


Hope it helps,
Kiran K

アバター
破棄
著作者

Hi Kiran,
Thank you for your reply
"This method allows us to add each and every field individually, but I aim to globally add all the fields from my modules."

Thanks & Regards,
Vishnu Sasikumar

関連投稿 返信 ビュー 活動
1
5月 23
3721
2
5月 23
3435
1
12月 21
2220
3
3月 24
7184
1
4月 24
1776