Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
2227 Tampilan

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

Avatar
Buang
Jawaban Terbai

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
Buang
Penulis

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

Jawaban Terbai

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
Buang
Penulis

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

Post Terkait Replies Tampilan Aktivitas
1
Mei 23
3577
2
Mei 23
3328
1
Des 21
2116
3
Mar 24
7033
1
Apr 24
1595