Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
4140 Näkymät

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
Hylkää
Tekijä Paras vastaus

help me please

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
3
elok. 25
7733
0
tammik. 21
2478
1
jouluk. 23
18235
2
elok. 18
4038
0
maalisk. 15
5225