Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
3967 Prikazi

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
Opusti
Avtor Best Answer

help me please

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
3
avg. 25
7310
0
jan. 21
2247
1
dec. 23
17976
2
avg. 18
3827
0
mar. 15
5013