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:
parent
bc9611bd40
commit
08f568ec0f
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue