[MERGE] forward port of branch saas-3 up to dbe60c7

This commit is contained in:
Christophe Simonis 2015-07-07 15:42:58 +02:00
commit 00afd776fd
1 changed files with 1 additions and 1 deletions

View File

@ -438,7 +438,7 @@ class YamlInterpreter(object):
result = recs.onchange(record_dict, field_name, onchange_spec)
else:
match = re.match("([a-z_1-9A-Z]+)\((.*)\)", el.attrib['on_change'])
match = re.match("([a-z_1-9A-Z]+)\((.*)\)", el.attrib['on_change'], re.DOTALL)
assert match, "Unable to parse the on_change '%s'!" % (el.attrib['on_change'], )
# creating the context