Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
3970 Vues

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
Ignorer
Auteur Meilleure réponse

help me please

Avatar
Ignorer
Publications associées Réponses Vues Activité
3
août 25
7316
0
janv. 21
2256
1
déc. 23
17976
2
août 18
3829
0
mars 15
5018