The Many2One widget allows external links to be opened for all fields. How can this be restricted?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
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
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
1
mai 23
|
3686 | ||
|
2
mai 23
|
3420 | ||
|
1
déc. 21
|
2207 | ||
|
3
mars 24
|
7172 | ||
|
1
avr. 24
|
1755 |