Commit d75d80bf authored by Rafael Monnerat's avatar Rafael Monnerat Committed by Kazuhiko Shiozaki

ERP5/TemplateTool: Do not update catalog for every dependency

   the update_catalog parameter is explicity destinated to the entries
   on the template_list, never to its dependencies resolved.

   The side effect was that reindexation is trigger to the whole list of
   business templates in the site.
parent c6897763
......@@ -1255,7 +1255,8 @@ class TemplateTool (BaseTool):
continue
bt_url = '%s/%s' % (repository, bt_id)
param_dict = dict(download_url=bt_url, only_different=only_different)
param_dict["update_catalog"] = update_catalog
if bt_id in template_list:
param_dict["update_catalog"] = update_catalog
if activate:
self.activate(**activate_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