Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
3 Ответы
6038 Представления

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. 

Аватар
Отменить
Related Posts Ответы Просмотры Активность
2
янв. 23
951
0
авг. 22
970
3
нояб. 20
4202
3
авг. 20
21546
2
февр. 25
5782