summaryrefslogtreecommitdiff
path: root/bin/addons/base
diff options
context:
space:
mode:
Diffstat (limited to 'bin/addons/base')
-rw-r--r--bin/addons/base/module/module.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/bin/addons/base/module/module.py b/bin/addons/base/module/module.py
index 6afbca50597..d3a3c1596ca 100644
--- a/bin/addons/base/module/module.py
+++ b/bin/addons/base/module/module.py
@@ -573,17 +573,6 @@ class module(osv.osv):
categs = categs[1:]
self.write(cr, uid, [id], {'category_id': p_id})
- def action_install(self,cr,uid,ids,context=None):
- for module in self.browse(cr, uid, ids, context):
- if module.state <> 'uninstalled':
- continue
- self.write(cr , uid, [module.id] ,{'state' : 'to install'})
- self.download(cr, uid, [module.id], context=context)
- cr.execute("select m.id as id from ir_module_module_dependency d inner join ir_module_module m on (m.name=d.name) where d.module_id=%d and m.state='uninstalled'",(module.id,))
- dep_ids = map(lambda x:x[0],cr.fetchall())
- if len(dep_ids):
- self.action_install(cr,uid,dep_ids,context=context)
-
def update_translations(self, cr, uid, ids, filter_lang=None):
logger = netsvc.Logger()