Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
3929 Vistas

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 Mejor respuesta

help me please

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
3
may 24
7216
0
ene 21
2222
1
dic 23
17926
2
ago 18
3755
0
mar 15
4945