Skip to Content
मेन्यू
This question has been flagged
1 Reply
5716 Views

Hello, I have Odoo8.

I have a model A which has a many2many field relation to model B. Is there any way to access to the many2many field from model B? Thanks!

Avatar
Discard
Best Answer

You create a similar many2many field in model B, which is based on the same relation object.

fields.many2many('other.object.name', 'relation object', 'actual.object.id', 'other.object.id', 'Field Name')

Avatar
Discard
Related Posts Replies Views Activity
2
सित॰ 17
10092
1
मई 15
21920
1
फ़र॰ 24
2018
0
जुल॰ 24
3079
2
दिस॰ 22
14791