parent
d0a0b7d91d
commit
0edfc3fbc9
|
@ -447,7 +447,7 @@ class YamlInterpreter(object):
|
||||||
|
|
||||||
# Evaluation args
|
# Evaluation args
|
||||||
args = map(lambda x: eval(x, ctx), match.group(2).split(','))
|
args = map(lambda x: eval(x, ctx), match.group(2).split(','))
|
||||||
result = getattr(model, match.group(1))(self.cr, SUPERUSER_ID, [], *args)
|
result = getattr(model, match.group(1))(self.cr, self.uid, [], *args)
|
||||||
for key, val in (result or {}).get('value', {}).items():
|
for key, val in (result or {}).get('value', {}).items():
|
||||||
if key in fg:
|
if key in fg:
|
||||||
record_dict[key] = process_val(key, val)
|
record_dict[key] = process_val(key, val)
|
||||||
|
|
Loading…
Reference in New Issue