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:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
1
Trả lời
3094
Lượt xem
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.
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký