[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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user