在编辑老旧的 py3o模板保存后,上传到 odoo 后出现了报错。
Odoo Server Error
Traceback (most recent call last):
File "/home/yaxi-14/report_py3o/controllers/main.py", line 1348, in render_tree
content = lxml.etree.tostring(content_tree.getroot())
File "src/lxml/etree.pyx", line 3435, in lxml.etree.tostring
File "src/lxml/serializer.pxi", line 139, in lxml.etree._tostring
File "src/lxml/serializer.pxi", line 199, in lxml.etree._raiseSerialisationError
lxml.etree.SerialisationError: IO_ENCODER