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')
| 相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
|---|---|---|---|---|
|
2
9月 17
|
10989 | |||
|
1
5月 15
|
22796 | |||
|
1
2月 24
|
2815 | |||
|
0
7月 24
|
4191 | |||
|
2
12月 22
|
15714 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.