Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
5996 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
10383
1
mai 15
22212
1
feb. 24
2258
0
iul. 24
3424
2
dec. 22
15159