[FIX] base_report_designer - old way to call register_all method

bzr revid: dhara_open_erp-20101113003611-lvcrcbmaa25i7pfq
This commit is contained in:
Dhara (Open ERP) 2010-11-12 16:36:11 -08:00
parent e323c2738f
commit eee6870817
1 changed files with 1 additions and 2 deletions

View File

@ -56,8 +56,7 @@ class report_xml(osv.osv):
'report_sxw_content': base64.decodestring(file_sxw),
'report_rml_content': str(sxw2rml(sxwval, xsl=fp.read())),
})
db = pooler.get_db_only(cr.dbname)
interface.register_all(db)
pool.get('ir.actions.report.xml').register_all(cr)
return True
def report_get(self, cr, uid, report_id, context={}):