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!
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')
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|
2
Sep 17
|
12149 | |||
|
1
May 15
|
23800 | |||
|
0
Jun 26
|
3 | |||
|
0
May 26
|
32 | |||
|
0
Apr 26
|
28 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.