summaryrefslogtreecommitdiff
path: root/bin/addons/base/module/wizard/base_module_upgrade.py
diff options
context:
space:
mode:
authorJay (OpenERP) <jvo@tinyerp.com>2010-09-27 23:35:06 +0530
committerJay (OpenERP) <jvo@tinyerp.com>2010-09-27 23:35:06 +0530
commit573ea5722f467031b1b018a3aa7e107c206da1ef (patch)
treea860268edde15decf973708f255d10bd9ebc16e8 /bin/addons/base/module/wizard/base_module_upgrade.py
parente96ad556942bcd3065795468146e83394bdc4fed (diff)
[FIX] wizard exception replaced by osv exception
lp bug: https://launchpad.net/bugs/648954 fixed bzr revid: jvo@tinyerp.com-20100927180506-w5oq9ia1pjgjdyqd
Diffstat (limited to 'bin/addons/base/module/wizard/base_module_upgrade.py')
-rw-r--r--bin/addons/base/module/wizard/base_module_upgrade.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/addons/base/module/wizard/base_module_upgrade.py b/bin/addons/base/module/wizard/base_module_upgrade.py
index fe85cb0422c..500622489e7 100644
--- a/bin/addons/base/module/wizard/base_module_upgrade.py
+++ b/bin/addons/base/module/wizard/base_module_upgrade.py
@@ -95,7 +95,7 @@ class base_module_upgrade(osv.osv_memory):
if dep_mod.state in ('unknown','uninstalled'):
unmet_packages.append(dep_mod.name)
if len(unmet_packages):
- raise wizard.except_wizard('Unmet dependency !', 'Following modules are uninstalled or unknown. \n\n'+'\n'.join(unmet_packages))
+ raise osv.except_osv('Unmet dependency !', 'Following modules are uninstalled or unknown. \n\n'+'\n'.join(unmet_packages))
mod_obj.download(cr, uid, ids, context=context)
cr.commit()
db, pool = pooler.restart_pool(cr.dbname, update_module=True)