module recorder, minor changes.

bzr revid: ame@tinyerp.com-20081008071610-zmd17chu10x75qvs
This commit is contained in:
Amit Mendapara
2008-10-08 12:46:10 +05:30
parent 39725af1b7
commit 0c3444f8d9
@@ -172,7 +172,7 @@ class base_module_record(osv.osv):
# Create the minidom document
self.ids = {}
doc = minidom.Document()
terp = doc.createElement("terp")
terp = doc.createElement("openerp")
doc.appendChild(terp)
for rec in self.recording_data:
if rec[0]=='workflow':
@@ -199,8 +199,7 @@ class base_module_record(osv.osv):
data.appendChild(res)
elif rec[0]=='assert':
pass
res = doc.toprettyxml(indent="\t")
return doc.toprettyxml(indent="\t").encode('utf8')
return doc.toprettyxml(indent=" ").encode('utf8')
base_module_record()
def fnct_call(fnct):