diff options
| author | Christophe Simonis <chs@odoo.com> | 2015-07-07 15:40:31 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2015-07-07 15:40:31 +0200 |
| commit | dbe60c7bce12a8a8d71ead075b7bc1b38c5b4c19 (patch) | |
| tree | 7818dfc4e6ac9b160097b3816699b318be89ff77 | |
| parent | ac865c8a786e1c6cadf7d68bdfffa6841aed394f (diff) | |
| parent | 3add4f665c11d75e40875341419ba5788a2f7a82 (diff) | |
[MERGE] forward port of branch 7.0 up to 3add4f6
| -rw-r--r-- | openerp/tools/yaml_import.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openerp/tools/yaml_import.py b/openerp/tools/yaml_import.py index 51f7a84bb38..8f37b3e7f53 100644 --- a/openerp/tools/yaml_import.py +++ b/openerp/tools/yaml_import.py @@ -425,7 +425,7 @@ class YamlInterpreter(object): if not el.attrib.get('on_change', False): continue - 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 |
