[FIX] board: fix lxml import after P3 migration

Encoding 'unicode' is not supported by xml.etree.Elementree.toString
but it is supported by lxml.etree.toString
This commit is contained in:
David Monjoie
2017-09-08 15:34:15 +02:00
parent dee87e106a
commit ca496c2198
+1 -1
View File
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from xml.etree import ElementTree
from lxml import etree as ElementTree
from odoo.http import Controller, route, request