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]
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
2
déc. 19
|
6495 | ||
|
1
févr. 24
|
2371 | ||
|
0
juil. 24
|
3550 | ||
|
0
juil. 22
|
60 | ||
|
1
juil. 22
|
3358 |