module recorder, minor changes.
bzr revid: ame@tinyerp.com-20081008071610-zmd17chu10x75qvs
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user