İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
3986 Görünümler

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
Vazgeç
Üretici En İyi Yanıt

help me please

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
3
Ağu 25
7344
0
Oca 21
2309
1
Ara 23
17995
2
Ağu 18
3841
0
Mar 15
5026