Commit 491f6efe authored by Nicolas Delaby's avatar Nicolas Delaby

Passing name argument authorize OOoBuilder to modify RESPONSE headers.

This is wrong, because if batch_mode arguement is True, headers are still modified.
FormPrintout is able to Modify RESPONSE headers by itself.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40336 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 254c5a95
......@@ -336,7 +336,7 @@ class ODFStrategy(Implicit):
# Update the META informations
ooo_builder.updateManifest()
ooo = ooo_builder.render(name=odf_template.title or odf_template.id)
ooo = ooo_builder.render()
return ooo
def _replaceContentXml(self, ooo_builder, extra_context):
......
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