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')
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
RekisteröidyAiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
---|---|---|---|---|
|
2
syysk. 17
|
10243 | ||
|
1
toukok. 15
|
22077 | ||
|
1
helmik. 24
|
2178 | ||
|
0
heinäk. 24
|
3244 | ||
Selecting items for one2many relation
Ratkaistu
|
|
2
jouluk. 22
|
14953 |