From 2235425822daddc0fda85ec9ceb6c5e4e613cd67 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Mon, 14 Nov 2011 23:42:24 +0100 Subject: [PATCH] [FIX] onchange yaml bzr revid: fp@tinyerp.com-20111114224224-5kvzufap638l7nx1 --- 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 4a96788c49c..55fe87e8357 100644 --- a/openerp/tools/yaml_import.py +++ b/openerp/tools/yaml_import.py @@ -422,7 +422,7 @@ class YamlInterpreter(object): ctx['parent'] = parent2(parent) for a in fg: if a not in ctx: - ctx[a]=process_val(a, False) + ctx[a]=process_val(a, defaults.get(a, False)) # Evaluation args args = map(lambda x: eval(x, ctx), match.group(2).split(','))