Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
2415 Переглядів

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

Related Posts Відповіді Переглядів Дія
1
трав. 23
3733
2
трав. 23
3445
1
груд. 21
2224
3
бер. 24
7192
1
квіт. 24
1783