Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3926 Zobrazení

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
Zrušit
Autor Nejlepší odpověď

help me please

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
3
kvě 24
7213
0
led 21
2222
1
pro 23
17925
2
srp 18
3755
0
bře 15
4941