Odoo Help


How to display retrieved values from a query in a one2many_list

Pablo Gomez
on 9/13/13, 8:32 AM 1,063 views

Hi, I have a sql query that returns 3 fields for every success in the database

sql=''' select field1, field2,field3........'''


The problem is that I have no idea how to display those values in a one2many_list in my view.

I have troubles too declarating the field that is gonna display the list. Not sure if has to be fields.function(type="one2many") or what.

Any help would be awesome. TY guys!

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

0 follower(s)


Asked: 9/13/13, 8:32 AM
Seen: 1063 times
Last updated: 3/16/15, 8:10 AM