Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
2362 Представления

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
3667
2
мая 23
3410
1
дек. 21
2182
3
мар. 24
7145
1
апр. 24
1730