Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odgovori
6082 Prikazi

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
Opusti
Best Answer

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
Opusti
Avtor

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.

Best Answer

I have the same problem.

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

Avatar
Opusti
Best Answer

I have the same problem .

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

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
2
jan. 23
951
0
avg. 22
970
3
nov. 20
4219
3
avg. 20
21638
2
feb. 25
5856