Hi all
How to browse many2many field values in odoo?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi all
How to browse many2many field values in odoo?
hope this will help you...
_columns = {
'A_ids': fields.many2many('objectA', 'objectAB_rel','B_id','A_id', 'Aid'),
.}
list=[]
a_obj=self.browse(cr,uid,context=context)
list += [x.A_id for x in a_obj.A_ids]
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 12 19
|
6491 | ||
|
1
thg 2 24
|
2354 | ||
|
0
thg 7 24
|
3536 | ||
|
0
thg 7 22
|
60 | ||
|
1
thg 7 22
|
3351 |