From 17b74184df4da4d2906aafde09450c91273e8499 Mon Sep 17 00:00:00 2001 From: Jairo Llopis Date: Wed, 2 Aug 2017 12:02:37 +0200 Subject: [PATCH] [FIX][module_auto_update] Set dependencies to upgrade --- module_auto_update/wizards/module_upgrade.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module_auto_update/wizards/module_upgrade.py b/module_auto_update/wizards/module_upgrade.py index d0c93e548..fed343957 100644 --- a/module_auto_update/wizards/module_upgrade.py +++ b/module_auto_update/wizards/module_upgrade.py @@ -15,7 +15,7 @@ class ModuleUpgrade(models.TransientModel): upgradeable_modules = installed_modules.filtered( lambda r: r.checksum_dir != r.checksum_installed, ) - upgradeable_modules.write({'state': "to upgrade"}) + upgradeable_modules.button_upgrade() return super(ModuleUpgrade, self).get_module_list() @api.multi