I manually created rml file. But when I run report I get following error :
Traceback (most recent call last):
File "service\web_services.pyo", line 629, in go
File "netsvc.pyo", line 67, in __init__
KeyError: u'report.x_reportcard'
Any ideas why?
my reportcard.py is
import time
from report import report_sxw
from osv import osv
class x_reportcard(report_sxw.rml_parse):
def __init__(self, cr, uid, name, context):
super(x_reportcard, self).__init__(cr, uid, name, context)
self.localcontext.update({
'time': time,
})
report_sxw.report_sxw('report.x_reportcard','x_reportcard','addons/kiams2/report/reportcard.rml',parser=order)
-------------------- m2f --------------------
--
http://www.openobject.com/forum/viewtopic.php?p=39123#39123
-------------------- m2f --------------------
_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users