diff options
| author | Paul Morelle <pmo@odoo.com> | 2020-02-17 13:12:45 +0000 |
|---|---|---|
| committer | Paul Morelle <pmo@odoo.com> | 2020-02-17 17:35:19 +0000 |
| commit | 98d5770e5da3064243d24fce95440d0c03cf7080 (patch) | |
| tree | 1d8e212d14f360e77ad3620ff099e05ee57db4c2 /odoo/tools | |
| parent | 858c2e4da0a49235309103f2714fbf296aa52065 (diff) | |
[FIX] tools: stop evaluating twice <function eval="..."> in _eval_xml
After a bad merge d785adba6c09b0773bdd874182f450ba2ebe7c6d the eval code
was evaluated twice.
closes odoo/odoo#45554
X-original-commit: c0316bb807e6c2db9c3567cba1aeb52da946cae7
Signed-off-by: Paul Morelle <madprog@users.noreply.github.com>
Diffstat (limited to 'odoo/tools')
| -rw-r--r-- | odoo/tools/convert.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/odoo/tools/convert.py b/odoo/tools/convert.py index c94e371106e..8e6efc7a9dc 100644 --- a/odoo/tools/convert.py +++ b/odoo/tools/convert.py @@ -184,7 +184,6 @@ def _eval_xml(self, node, env): if a_eval: idref2 = _get_idref(self, env, model_str, self.idref) - args = safe_eval(a_eval, idref2) args = list(safe_eval(a_eval, idref2)) for child in node: if child.tag == 'value' and child.get('name'): |
