<field name="parent"/>
<field name="related">
<field name="related_1"/>
<field name="related_1" context="{'id':parent}"/>
</field>
However i got "parent" is not recognized. How should i solve?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
<field name="parent"/>
<field name="related">
<field name="related_1"/>
<field name="related_1" context="{'id':parent}"/>
</field>
However i got "parent" is not recognized. How should i solve?
Pass context on field "related" which am guessing, it is a one2many field
Have a look at this:
<field name="related" context="{'id2':parent}">
<field name="related_1"/>
<field name="related_1" context="{'id1':context.get('id2')}"/>
</field>
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 2 24
|
2130 | ||
|
0
thg 7 24
|
3172 | ||
|
0
thg 7 22
|
60 | ||
|
1
thg 7 22
|
3075 | ||
|
2
thg 12 23
|
33611 |