Clear caches after commit when installing modules
requested to merge topic/default/nicoe-trytond-empty_cache_on_module_installation into branch/default
A call to clear_all is required after the commit in order to ensure that the transaction uses an empty cache from this point. clear_all is not required to prevent the deadlock on ir.cache because the rollback ensures that nothing changed from the point of view of this transaction.
Close #12343 (closed)