This question has been flagged
3181 Views

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

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

cr.execute(sql)

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!

Avatar
Discard