Commit b4f796a9 authored by Alexandre Boeglin's avatar Alexandre Boeglin

Fixes typo that prevents to replace a business template that uses files.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4270 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 080a4173
...@@ -1496,7 +1496,7 @@ class DocumentTemplateItem(BaseTemplateItem): ...@@ -1496,7 +1496,7 @@ class DocumentTemplateItem(BaseTemplateItem):
def uninstall(self, context, **kw): def uninstall(self, context, **kw):
for id in self._archive.keys(): for id in self._archive.keys():
globals()[self.local_file_importer_name](id) globals()[self.local_file_remover_name](id)
BaseTemplateItem.uninstall(self, context, **kw) BaseTemplateItem.uninstall(self, context, **kw)
def export(self, context, bta, **kw): def export(self, context, bta, **kw):
......
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