تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3605 أدوات العرض

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!

الصورة الرمزية
إهمال