跳至內容
選單
此問題已被標幟
1 回覆
3964 瀏覽次數

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
7310
0
1月 21
2244
1
12月 23
17973
2
8月 18
3827
0
3月 15
5013