Commit 73caf345 authored by Rafael Monnerat's avatar Rafael Monnerat

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 df2642cf
Pipeline #31860 failed with stage
in 0 seconds
......@@ -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