Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
5782 Vizualizări

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!

Imagine profil
Abandonează
Cel mai bun răspuns

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')

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
2
sept. 17
10143
1
mai 15
22014
1
feb. 24
2075
0
iul. 24
3135
2
dec. 22
14867