跳至內容
選單
此問題已被標幟
3606 瀏覽次數

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!

頭像
捨棄