From 2b0487113aa4218655b039289b0657c4723ded3f Mon Sep 17 00:00:00 2001 From: Denis Ledoux <dle@odoo.com> Date: Mon, 11 Aug 2014 11:11:36 +0200 Subject: [PATCH] [FIX] yaml tests: Set on_change keys not in view logger as debug instead of warning This is related to commit d31faceb67fd87acaca00365dcfc28925b08a37f (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). --- openerp/tools/yaml_import.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openerp/tools/yaml_import.py b/openerp/tools/yaml_import.py index 8f98573c4138..b065294f7d79 100644 --- a/openerp/tools/yaml_import.py +++ b/openerp/tools/yaml_import.py @@ -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']) -- GitLab