Skip to Content
मेन्यू
This question has been flagged

Hi everyone,

I have defined a many2many field in my customized form.When i select many2many field value need to throw values to one2many field.Is it possible to do? Please advise in this situation.Thanks in advance

Avatar
Discard
Best Answer

Yes, it is possible to manage this kind of situation.

you can get many2many ids in py onchange method and then like other fields you can set value of one2many fields also, just need to care about its format.


'sale_ids': [[0, False, {dictionary contains field value}]] 

I hope this is helpful.


Avatar
Discard
Related Posts Replies Views Activity
0
सित॰ 20
3333
0
फ़र॰ 19
3887
0
अप्रैल 16
3535
3
मार्च 16
14477
1
सित॰ 15
5454