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!
РеєстраціяRelated Posts | Відповіді | Переглядів | Дія | |
---|---|---|---|---|
|
2
груд. 19
|
6684 | ||
|
1
лют. 24
|
2528 | ||
|
0
лип. 24
|
3751 | ||
|
0
лип. 22
|
60 | ||
|
1
лип. 22
|
3575 |