Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
5848 Visninger

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
Kassér
Bedste svar

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
2
sep. 17
10254
1
maj 15
22088
1
feb. 24
2186
0
jul. 24
3253
2
dec. 22
14973