Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
3922 Widoki

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.
Awatar
Odrzuć
Autor Najlepsza odpowiedź

help me please

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
3
maj 24
7208
0
sty 21
2217
1
gru 23
17923
2
sie 18
3753
0
mar 15
4939