Odoo Help

0

How to browse many2many field values in odoo?

By
Jo
on 12/16/15, 5:01 AM 1,003 views

Hi all

How to browse many2many field values in odoo?

0
Deepak Krishna
On 12/16/15, 6:26 AM

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]




About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 12/16/15, 5:01 AM
Seen: 1003 times
Last updated: 12/16/15, 6:26 AM