diff --git a/trytond/modules/__init__.py b/trytond/modules/__init__.py index e7e2353624..eb4e65120f 100644 --- a/trytond/modules/__init__.py +++ b/trytond/modules/__init__.py @@ -300,9 +300,10 @@ def load_module_graph(graph, pool, update=None, lang=None): (module, to_delete) = modules_todo.pop() convert.post_import(pool, module, to_delete) - # Ensure cache is clear for other instances - Cache.clear_all() - Cache.refresh_pool(transaction) + if update: + # Ensure cache is clear for other instances + Cache.clear_all() + Cache.refresh_pool(transaction) logger.info('all modules loaded')