diff --git a/product/ERP5OOo/OOoTemplate.py b/product/ERP5OOo/OOoTemplate.py index 515045ce5d99dac37c27534c1f8a0c1de1b9a3cb..ffe834d053665eb9770192ac133a0f43965c656b 100644 --- a/product/ERP5OOo/OOoTemplate.py +++ b/product/ERP5OOo/OOoTemplate.py @@ -408,6 +408,7 @@ class OOoTemplate(ZopePageTemplate): extra_context.update(arg_dict) request.other.update(arg_dict) path = office_include.attrib['path'] + del(office_include.attrib['path']) new_path = replaceIncludes(path) draw_object = Element('{%s}object' % xml_doc.nsmap.get('draw')) draw_object.attrib.update({'{%s}href' % xml_doc.nsmap.get('xlink'): new_path})