Skip to Content
Menú
This question has been flagged
1 Respondre
4001 Vistes

Hi I am trying to pass the value from a Many2many field to a Many2many field using the context attribute in the view.


<field name="vehicules" widget="one2many_list" context="{ 'default_problems':(1, problems)}">

default_problems and problems are both Many2many fields, I tried also (6,0,problems), but only 1 element of the Many2many field is passed from problems to default_problems.

Please some help, I am blocked with this and can't find a solution.
Avatar
Descartar
Autor Best Answer

help me please

Avatar
Descartar
Related Posts Respostes Vistes Activitat
3
d’ag. 25
7398
0
de gen. 21
2339
1
de des. 23
18035
2
d’ag. 18
3849
0
de març 15
5038