[FIX] report_webkit: typo that made it impossible to register a webkit report
bzr revid: nicolas.vanhoren@openerp.com-20130225150306-uo9r7ua7iqj57255
This commit is contained in:
parent
59ac14af71
commit
c8258999f1
|
@ -39,7 +39,7 @@ def register_report(name, model, tmpl_path, parser=rml_parse):
|
|||
"""Register the report into the services"""
|
||||
name = 'report.%s' % name
|
||||
if name in openerp.report.interface.report_int._reports:
|
||||
service = openerp.report.interface.report_int[name]
|
||||
service = openerp.report.interface.report_int._reports[name]
|
||||
if isinstance(service, WebKitParser):
|
||||
#already instantiated properly, skip it
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue