Commit 50f3bbcd authored by Yoshinori Okuji's avatar Yoshinori Okuji

Pass toxml correctly.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@880 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 60039917
......@@ -137,7 +137,7 @@ class TemplateTool (BaseTool):
Save in a format or another
"""
business_template.build()
self.manage_exportObject(id=business_template.getId())
self.manage_exportObject(id=business_template.getId(), toxml=toxml)
suffix = toxml and 'xml' or 'zexp'
cfg = getConfiguration()
f = os.path.join(cfg.clienthome, '%s.%s' % (business_template.getId(), suffix))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment