summaryrefslogtreecommitdiff
path: root/odoo/tools/xml_utils.py
diff options
context:
space:
mode:
authorPierre Rousseau <pro@odoo.com>2018-01-04 14:53:40 +0100
committerqdp-odoo <qdp@odoo.com>2018-01-04 18:58:38 +0100
commit9ec0455abc041b855dcab18e8e185baf806b9f14 (patch)
tree865933eb231ee41b4d01c90de5ec57091dfa5337 /odoo/tools/xml_utils.py
parentff4ee2c17ed8ca4fd311070009846b744a526639 (diff)
[FIX] tools: fixed missing import in xml_utils
Diffstat (limited to 'odoo/tools/xml_utils.py')
-rw-r--r--odoo/tools/xml_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/tools/xml_utils.py b/odoo/tools/xml_utils.py
index 864f1ce0caa..eb5b8b203bf 100644
--- a/odoo/tools/xml_utils.py
+++ b/odoo/tools/xml_utils.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
from lxml import etree
from odoo.tools.misc import file_open
-
+from odoo.exceptions import UserError
def check_with_xsd(tree_or_str, stream):
raise UserError("Method 'check_with_xsd' deprecated ")