跳至内容
菜单
此问题已终结
3 回复
6047 查看

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.

形象
丢弃
最佳答案

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
形象
丢弃
编写者

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.

最佳答案

I have the same problem.

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

形象
丢弃
最佳答案

I have the same problem .

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

形象
丢弃
相关帖文 回复 查看 活动
2
1月 23
951
0
8月 22
970
3
11月 20
4205
3
8月 20
21563
2
2月 25
5793