コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
3991 ビュー

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.
アバター
破棄
著作者 最善の回答

help me please

アバター
破棄
関連投稿 返信 ビュー 活動
3
8月 25
7348
0
1月 21
2318
1
12月 23
18001
2
8月 18
3842
0
3月 15
5027