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')
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
2
thg 9 17
|
10209 | ||
|
1
thg 5 15
|
22047 | ||
|
1
thg 2 24
|
2143 | ||
|
0
thg 7 24
|
3189 | ||
|
2
thg 12 22
|
14931 |