Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
3 Replies
6062 Tampilan

How can I make many2one field records read-only when opened with an external link button. I do not want my user to edit the record while using an external link.

Avatar
Buang
Jawaban Terbai

Not sure if I understand your question correctly, but you can add the following to the XML to prevent the user from opening the record on a many2one:

<attribute name="options">{"no_open":true}</attribute>
More information and screenshots: Block External Link
Avatar
Buang
Penulis

I would like to show the record to the user but don't let the user be able to edit while using an external link, who has edit rights to that record.

As far as I know, that's not possible.

Jawaban Terbai

I have the same problem.

Is there any  solution now ? I'm in Odoo v16. 

Avatar
Buang
Jawaban Terbai

I have the same problem .

Is there any  solution now ? I'm in Odoo v15. 

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
2
Jan 23
951
0
Agu 22
970
3
Nov 20
4209
3
Agu 20
21581
2
Feb 25
5815