i am passing values from parser class to report template by using cr.execute.but i am getting this error
"'psycopg2._psycopg.cursor' object has no attribute 'excecute'" while evaluating
'get_filtered_purchase()'
my parser class
class purchase_report(report_sxw.rml_parse): |
def get_filtered_purchase(self): |
class report_purchaseorder_qweb(osv.AbstractModel): |
and my template
<template id="report_wizard"> |
Typo mistake: self.cr.execute("")