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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
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
يناير 23
|
951 | ||
|
0
أغسطس 22
|
970 | ||
|
3
نوفمبر 20
|
4199 | ||
|
3
أغسطس 20
|
21546 | ||
|
2
فبراير 25
|
5778 |