Skip to content
Snippets Groups Projects
Commit 0c96ce1e authored by Houzefa Abbasbhay's avatar Houzefa Abbasbhay :slight_smile:
Browse files

Fix an `lxml.etree` call (get strings, not bytes)

parent 03d77e2f
No related branches found
No related tags found
No related merge requests found
...@@ -222,7 +222,7 @@ ...@@ -222,7 +222,7 @@
cell.attrib['style'] = 'padding: 3px 6px;' cell.attrib['style'] = 'padding: 3px 6px;'
cell.text = field cell.text = field
return etree.tostring(root, pretty_print=True) return etree.tostring(root, encoding='unicode', pretty_print=True)
@api.multi @api.multi
def _board_alert_context(self): def _board_alert_context(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment