Remove print

bzr revid: ced-41cedf4d341e857977d821b55f20dbd7c9342315
This commit is contained in:
ced 2007-08-14 06:20:52 +00:00
parent 8e565602ad
commit 753b1c18f5
1 changed files with 0 additions and 3 deletions

View File

@ -45,16 +45,13 @@ class report_xml(osv.osv):
sxwval = StringIO(base64.decodestring(file_sxw))
fp = tools.file_open('normalized_oo2rml.xsl',
subdir='addons/base_report_designer/wizard/tiny_sxw2rml')
file('/tmp/test.sxw','wb').write(base64.decodestring(file_sxw))
report = pool.get('ir.actions.report.xml').write(cr, uid, [report_id], {
'report_sxw_content': base64.decodestring(file_sxw),
'report_rml_content': str(sxw2rml(sxwval, xsl=fp.read()))
})
cr.commit()
db = pooler.get_db_only(cr.dbname)
print 'Register'
interface.register_all(db)
print 'Register End'
return True
def report_get(self, cr, uid, report_id, context={}):
report = self.browse(cr, uid, report_id, context)