Merge branch 'mdv-gpl3-fwd' into mdv-gpl3-py26

bzr revid: p_christ@hol.gr-20090102152243-qzpwt7aa9omd7h30
This commit is contained in:
P. Christeas 2009-01-02 17:22:43 +02:00
commit 6ed3d0fab3
2 changed files with 5933 additions and 1 deletions

File diff suppressed because it is too large Load Diff

View File

@ -389,7 +389,10 @@ 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
(callable(s) and s(None, cr, uid, {}))
or [] ]),
'help': ('help', lambda s: [encode(s)]),
}