Odoo Help


How to access to some fields in a result?

Drees Far
on 7/10/15, 1:41 PM 704 views


Please, i have this result:

[(6, 0, []), (0, 0, {'project': u'test902', 'partner_id': 7, 'check': True}), (0, 0, {'project': u'project903', 'partner_id': 7, 'check': False})]

I want to access to project in this result, how please.

Axel Mendoza
On 7/10/15, 2:47 PM

This seems to be a value for many2many field, this is the format value for this kind x2many fields. You need to take in consideration the differents kind of tuple value inside this list. Consult orm write method for the specification

In your case you could do something like this:


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.


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

2 follower(s)


Asked: 7/10/15, 1:41 PM
Seen: 704 times
Last updated: 7/10/15, 3:00 PM