Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
3979 Visualizzazioni

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
Abbandona
Autore Risposta migliore

help me please

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
3
ago 25
7331
0
gen 21
2277
1
dic 23
17981
2
ago 18
3833
0
mar 15
5022