res_config: fix unicode help + msg for already-installed addons [Bug 692598]

As reported by TFR.

bzr revid: p_christ@hol.gr-20101221144456-uy8xz2ovjbbj1qsk
This commit is contained in:
P. Christeas 2010-12-21 16:44:56 +02:00
parent bc9611bd40
commit 08f568ec0f
1 changed files with 2 additions and 2 deletions

View File

@ -24,6 +24,7 @@ from operator import attrgetter
from osv import osv, fields
from tools.translate import _
import netsvc
from tools import ustr
import pooler
@ -379,9 +380,8 @@ class res_config_installer(osv.osv_memory):
continue
fields[module.name].update(
readonly=True,
help=fields[module.name].get('help', '') +
help= ustr(fields[module.name].get('help', '')) +
_('\n\nThis addon is already installed on your system'))
return fields
def execute(self, cr, uid, ids, context=None):