bugfix with the wizard of module lang into the base module
bzr revid: stephane@tinyerp.com-20080910114012-8tdfy7h258nuccp2
This commit is contained in:
@@ -57,8 +57,7 @@ class wizard_lang_install(wizard.interface):
|
||||
def _lang_install(self, cr, uid, data, context):
|
||||
lang = data['form']['lang']
|
||||
if lang:
|
||||
pool = pooler.get_pool(cr.dbname)
|
||||
modobj = cr.pool.get('ir.module.module')
|
||||
modobj = pooler.get_pool(cr.dbname).get('ir.module.module')
|
||||
mids = modobj.search(cr, uid, [('state', '=', 'installed')])
|
||||
modobj.update_translations(cr, uid, mids, lang)
|
||||
return {}
|
||||
|
||||
Reference in New Issue
Block a user