Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
3985 Vizualizări

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.
Imagine profil
Abandonează
Autor Cel mai bun răspuns

help me please

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
3
aug. 25
7340
0
ian. 21
2307
1
dec. 23
17992
2
aug. 18
3839
0
mar. 15
5026