[FIX] Append view domain (in case of selection widget) to a copy of the field's domain
lp bug: https://launchpad.net/bugs/1081092 fixed bzr revid: stefan@therp.nl-20121120121936-8b1wiho0q96ckeqk
This commit is contained in:
parent
a792b03064
commit
d924cec182
|
@ -1782,7 +1782,7 @@ class BaseModel(object):
|
|||
# TODO: find a way to remove this hack, by allow dynamic domains
|
||||
dom = []
|
||||
if column._domain and not isinstance(column._domain, basestring):
|
||||
dom = column._domain
|
||||
dom = list(column._domain)
|
||||
dom += eval(node.get('domain', '[]'), {'uid': user, 'time': time})
|
||||
search_context = dict(context)
|
||||
if column._context and not isinstance(column._context, basestring):
|
||||
|
|
Loading…
Reference in New Issue