[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:
@@ -452,7 +452,7 @@ class YamlInterpreter(object):
|
||||
if key in fg:
|
||||
record_dict[key] = process_val(key, val)
|
||||
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"
|
||||
" the view '%s'",
|
||||
key, match.group(1), model._name, view_info['name'])
|
||||
|
||||
Reference in New Issue
Block a user