Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
3 Відповіді
6042 Переглядів

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
4204
3
серп. 20
21547
2
лют. 25
5788