I am converting a module from v11 to v13 and there's a relation of field one2many on a form which has attrs = "{ 'readonly': [('state', 'in', ['posted', 'canceled'])] } ".
but that one2many field is readable in any case. I have tried to remove the attrs that didnt work i even added readonly = False in python code and also readonly='0' in xml in on2many field but that field is still not editable it is showing the behavior as readonly. How can i make that editable?
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
3916
Lượt xem
After some R&D I have found this useful link on forum. This happens because of access rules security on the related model (the many2one).
https://www.odoo.com/forum/help-1/question/problem-with-one2many-in-odoo-12-151127
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ýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
1
thg 1 22
|
18499 | ||
|
3
thg 7 19
|
5405 | ||
|
4
thg 11 20
|
7877 | ||
|
0
thg 11 18
|
2503 | ||
|
2
thg 3 25
|
8704 |