Commit e77c17fc authored by Nicolas Delaby's avatar Nicolas Delaby

name is callable

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38981 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 260173c5
......@@ -187,13 +187,13 @@ class OOOdCommandTransform(commandtransform):
xml_declaration=False, pretty_print=False, )
def convert(self):
tmp_ooo = newTempOOoDocument(self.context, self.name)
tmp_ooo = newTempOOoDocument(self.context, self.name())
# XXX We store the same content inside data and base_data
# otherwise conversion server fails to convert html=>odt for example.
# deeper investigation is required inside oood to understand this issue.
tmp_ooo.edit( base_data=self.data,
fname=self.name,
source_reference=self.name,
fname=self.name(),
source_reference=self.name(),
base_content_type=self.mimetype,
content_type=self.mimetype,)
self.ooo = tmp_ooo
......
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