I want show some fields in create and edit mode(make some fields readonly) if the creator of the record calls it, and to show additional fields to the destination person (when the record is invoked) and also make readonly fields that can be editted by the creator)
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
1
الرد
3115
أدوات العرض
You can modify the attributes of a field on the fly with the view-definition.
You have to create the form in the XML-file, and specify the readonly attribute. I'll show you an example, if you are interested. At the moment I do not have access to my code.
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيل