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