Hello all,
when i search records using low sql
request.env.cr.execute(sql)
request.env.cr.dictfetchall()
then i received ResultSet as list it is not useful in qweb template to get some additional fields like image..
so how to convert list to object or any solution to use list as object in qweb template. Can anyone help me.
Thanks in advance..
first, you need to convert in the record set from the list of ids
like : request.env[here is related model].browse(list of ids )
after that, you can use an object(record) in Qweb template