Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2 Antworten
2404 Ansichten

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

Avatar
Verwerfen
Beste Antwort

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
Verwerfen
Autor

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

Beste Antwort

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
Verwerfen
Autor

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

Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Mai 23
3704
2
Mai 23
3425
1
Dez. 21
2217
3
März 24
7182
1
Apr. 24
1766