Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
5691 Vistas

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
Mejor respuesta

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
Publicaciones relacionadas Respuestas Vistas Actividad
2
sept 17
10010
1
may 15
21858
1
feb 24
1967
0
jul 24
3017
2
dic 22
14764