Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
2 Besvarelser
2436 Visninger

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

Avatar
Kassér
Bedste svar

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

Avatar
Kassér
Forfatter

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

Bedste svar

Hi Vishnu,

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

Syntax:


Hope it helps,
Kiran K

Avatar
Kassér
Forfatter

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

Related Posts Besvarelser Visninger Aktivitet
1
maj 23
3745
2
maj 23
3456
1
dec. 21
2245
3
mar. 24
7219
1
apr. 24
1803