Skip to Content
Menú
This question has been flagged
1 Respondre
5662 Vistes

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
Descartar
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
Descartar
Related Posts Respostes Vistes Activitat
2
de set. 17
9976
1
de maig 15
21831
1
de febr. 24
1952
0
de jul. 24
2989
2
de des. 22
14739