<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>
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
Daftar| Post Terkait | Replies | Tampilan | Aktivitas | |
|---|---|---|---|---|
|
1
Feb 24
|
2913 | |||
|
0
Jul 24
|
4347 | |||
|
0
Jul 22
|
60 | |||
|
1
Jul 22
|
4029 | |||
|
How to apply domain filter on many2many field?
Diselesaikan
|
2
Des 23
|
34612 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.