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
- 회계
- 재고 관리
- PoS
- Project
- MRP
신고된 질문입니다
1
회신
4007
화면
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
관련 게시물 | 답글 | 화면 | 활동 | |
---|---|---|---|---|
|
1
1월 22
|
18617 | ||
|
3
7월 19
|
5494 | ||
|
4
11월 20
|
7982 | ||
|
0
11월 18
|
2549 | ||
|
2
3월 25
|
8829 |