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]
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
2
Dec 19
|
5191 | ||
|
1
Feb 24
|
836 | ||
|
0
Jul 24
|
1500 | ||
|
0
Jul 22
|
60 | ||
|
1
Jul 22
|
1404 |