diff options
| author | P. Christeas, O. Dony <> | 2010-11-25 15:22:19 +0100 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2010-11-25 15:22:19 +0100 |
| commit | 6a69f37cf063525734645fe2d76e2b6ad7792ee5 (patch) | |
| tree | 86849f688569004bc7dc80ba4e222dbbe7ecaa69 /bin/addons/base/module/wizard/base_module_upgrade.py | |
| parent | f4c509bcfb2ca305c889a1bd57d4fd0e8cb6b7a0 (diff) | |
| parent | 897ba61b4b12110e574f86fd414220ae53328761 (diff) | |
[MERGE] many improvements regarding translations, logging, reports, http, speed
bzr revid: odo@openerp.com-20101125142219-8bkqfboyuslzpvyo
Diffstat (limited to 'bin/addons/base/module/wizard/base_module_upgrade.py')
| -rw-r--r-- | bin/addons/base/module/wizard/base_module_upgrade.py | 3 |
1 files changed, 2 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 de9df1ec3e0..d712b3ccf77 100644 --- a/bin/addons/base/module/wizard/base_module_upgrade.py +++ b/bin/addons/base/module/wizard/base_module_upgrade.py @@ -20,6 +20,7 @@ ############################################################################## import pooler +import wizard from osv import osv, fields class base_module_upgrade(osv.osv_memory): @@ -80,7 +81,7 @@ class base_module_upgrade(osv.osv_memory): res = mod_obj.read(cr, uid, ids, ['name','state'], context) return {'module_info': '\n'.join(map(lambda x: x['name']+' : '+x['state'], res))} - def upgrade_module(self, cr, uid, ids, context): + def upgrade_module(self, cr, uid, ids, context=None): pool = pooler.get_pool(cr.dbname) mod_obj = self.pool.get('ir.module.module') data_obj = self.pool.get('ir.model.data') |
