diff options
| author | Mantavya Gajjar <mga@tinyerp.com> | 2008-12-11 20:33:52 +0530 |
|---|---|---|
| committer | Mantavya Gajjar <mga@tinyerp.com> | 2008-12-11 20:33:52 +0530 |
| commit | ff8b88d8fdd46cca77f337ce28b25864fe59515d (patch) | |
| tree | 1e266b9b9baab277778859da42f5b45ac0c46718 /bin/addons/base/module/module.py | |
| parent | 5ee1dff04cca5d6c0dd502208d432ea1a890b54a (diff) | |
| parent | 5e510fc9775ca75bd316b8d08319e6f57617cc0a (diff) | |
merging fromt he trunk
bzr revid: mga@tinyerp.com-20081211150352-dww8sdw991zhwusn
Diffstat (limited to 'bin/addons/base/module/module.py')
| -rw-r--r-- | bin/addons/base/module/module.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/addons/base/module/module.py b/bin/addons/base/module/module.py index 26570685f43..5ed36511d95 100644 --- a/bin/addons/base/module/module.py +++ b/bin/addons/base/module/module.py @@ -259,7 +259,10 @@ class module(osv.osv): for dep in depobj.browse(cr, uid, iids, context=context): if dep.module_id.state=='installed': todo.append(dep.module_id) - self.write(cr,uid, map(lambda x: x.id, todo), {'state':'to upgrade'}, context=context) + + ids = map(lambda x: x.id, todo) + self.write(cr, uid, ids, {'state':'to upgrade'}, context=context) + self.button_install(cr, uid, ids, context=context) return True def button_upgrade_cancel(self, cr, uid, ids, context={}): |
