Browse Source

[FIX][module_auto_update] Set dependencies to upgrade

pull/1198/head
Jairo Llopis 7 years ago
committed by Stéphane Bidoul (ACSONE)
parent
commit
17b74184df
No known key found for this signature in database GPG Key ID: BCAB2555446B5B92
  1. 2
      module_auto_update/wizards/module_upgrade.py

2
module_auto_update/wizards/module_upgrade.py

@ -15,7 +15,7 @@ class ModuleUpgrade(models.TransientModel):
upgradeable_modules = installed_modules.filtered( upgradeable_modules = installed_modules.filtered(
lambda r: r.checksum_dir != r.checksum_installed, 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() return super(ModuleUpgrade, self).get_module_list()
@api.multi @api.multi

Loading…
Cancel
Save