bzr revid: fp@tinyerp.com-20090128234635-fq387ackvvl16xdo
This commit is contained in:
Fabien Pinckaers 2009-01-29 00:46:35 +01:00
parent 8aeb87b051
commit f876e7b2a4
1 changed files with 1 additions and 1 deletions

View File

@ -370,7 +370,7 @@ def trans_generate(lang, modules, dbname=None):
def_params = {
'string': ('wizard_field', lambda s: [encode(s)]),
'selection': ('selection', lambda s: [encode(e[1]) for e in (callable(s) and s(None, cr, uid, {}) or s)]),
'selection': ('selection', lambda s: [encode(e[1]) for e in ((not callable(s)) and s or [])]),
'help': ('help', lambda s: [encode(s)]),
}