[MERGE] forward port branch 10.0 up to 7147622665

This commit is contained in:
Christophe Simonis
2018-04-16 11:18:08 +02:00
25 changed files with 112 additions and 54 deletions
+1 -1
View File
@@ -599,7 +599,7 @@ class Module(models.Model):
res = [0, 0] # [update, add]
default_version = modules.adapt_version('1.0')
known_mods = self.search([])
known_mods = self.with_context(lang=None).search([])
known_mods_names = {mod.name: mod for mod in known_mods}
# iterate through detected modules and update/create them in db