Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
2560 Näkymät

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

Avatar
Hylkää
Paras vastaus

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
Hylkää
Tekijä

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

Paras vastaus

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
Hylkää
Tekijä

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

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
toukok. 23
3861
2
toukok. 23
3549
1
jouluk. 21
2368
3
maalisk. 24
7340
1
huhtik. 24
1968