跳至内容
菜单
此问题已终结
2 回复
2325 查看

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
3632
2
5月 23
3375
1
12月 21
2165
3
3月 24
7129
1
4月 24
1678