Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
5793 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
10174
1
may 15
22031
1
feb 24
2124
0
jul 24
3162
2
dic 22
14907