Commit 2a5a4175 authored by Jérome Perrin's avatar Jérome Perrin

do not check if we update catalog in case of old bt format


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5171 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8dd58e74
......@@ -3415,7 +3415,7 @@ Business Template is a set of definitions, such as skins, portal types and categ
# update catalog if necessary
update_catalog=0
catalog_method = getattr(self, '_catalog_method_item', None)
if catalog_method is not None:
if catalog_method is not None and self.getTemplateFormatVersion() == 1:
for id in catalog_method._objects.keys():
if id in object_to_update.keys() or force:
if not force:
......
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