Merge PR #3218 into 16.0

Signed-off-by pedrobaeza
pull/3222/head
OCA-git-bot 2025-03-06 17:24:20 +00:00
commit ae4118c476
1 changed files with 7 additions and 5 deletions

View File

@ -548,11 +548,13 @@ class UpgradeAnalysis(models.Model):
all_local_modules = (
self.env["ir.module.module"].search(module_domain).mapped("name")
)
all_remote_modules = (
connection.env["ir.module.module"]
.browse(connection.env["ir.module.module"].search(module_domain))
.mapped("name")
)
all_remote_modules = [
x["name"]
for x in connection.env["ir.module.module"].search_read(
module_domain, ["name"]
)
]
start_version = connection.version
end_version = release.major_version