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,6 +2369,9 @@ class CatalogMethodTemplateItem(ObjectTemplateItem):
values = self._archive.values()
else:
try:
if context.getTemplateFormatVersion() == 1:
value = self._objects[object_path]
else:
value = self._archive[object_path]
except KeyError:
value = 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