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!
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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!
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')
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
2
sept. 17
|
10190 | ||
|
1
mai 15
|
22039 | ||
|
1
févr. 24
|
2131 | ||
|
0
juil. 24
|
3172 | ||
|
2
déc. 22
|
14924 |