the uninstall use the new version some business template to update the properties

of catalog


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33326 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a0fbcbcf
...@@ -2369,7 +2369,10 @@ class CatalogMethodTemplateItem(ObjectTemplateItem): ...@@ -2369,7 +2369,10 @@ class CatalogMethodTemplateItem(ObjectTemplateItem):
values = self._archive.values() values = self._archive.values()
else: else:
try: try:
value = self._archive[object_path] if context.getTemplateFormatVersion() == 1:
value = self._objects[object_path]
else:
value = self._archive[object_path]
except KeyError: except KeyError:
value = None value = None
if value is not None: if value is not None:
......
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