Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
2218 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Autor

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

Najlepsza odpowiedź

Hi Vishnu,

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

Syntax:


Hope it helps,
Kiran K

Awatar
Odrzuć
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

Powiązane posty Odpowiedzi Widoki Czynność
1
maj 23
3573
2
maj 23
3324
1
gru 21
2105
3
mar 24
7027
1
kwi 24
1584