Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
5114 Prikazi

<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?

Avatar
Opusti
Best Answer

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>

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
feb. 24
2131
0
jul. 24
3172
0
jul. 22
60
1
jul. 22
3076
2
dec. 23
33614