Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
3939 Weergaven

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
Annuleer
Auteur Beste antwoord

help me please

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
3
mei 24
7244
0
jan. 21
2232
1
dec. 23
17949
2
aug. 18
3799
0
mrt. 15
4990