[FIX] yaml tests: Set on_change keys not in view logger as debug instead of warning
This is related to commit d31faceb67
(This is to avoid the runbot being yellow if on_change methods have extra keys in the returned value, this is not wrong, the web client will simply ignore them).
This commit is contained in:
parent
2da233d89d
commit
2b0487113a
|
@ -452,7 +452,7 @@ class YamlInterpreter(object):
|
||||||
if key in fg:
|
if key in fg:
|
||||||
record_dict[key] = process_val(key, val)
|
record_dict[key] = process_val(key, val)
|
||||||
else:
|
else:
|
||||||
_logger.warning("The returning field '%s' from your on_change call '%s'"
|
_logger.debug("The returning field '%s' from your on_change call '%s'"
|
||||||
" does not exist either on the object '%s', either in"
|
" does not exist either on the object '%s', either in"
|
||||||
" the view '%s'",
|
" the view '%s'",
|
||||||
key, match.group(1), model._name, view_info['name'])
|
key, match.group(1), model._name, view_info['name'])
|
||||||
|
|
Loading…
Reference in New Issue