diff --git a/hy_odoo/__manifest__.py b/hy_odoo/__manifest__.py index 865495d..f8e6815 100644 --- a/hy_odoo/__manifest__.py +++ b/hy_odoo/__manifest__.py @@ -8,7 +8,7 @@ 'name': 'Hy Odoo', 'summary': 'Hy Odoo', 'description': """ Hy functions and macros for Odoo """, - 'version': '16.0.0.8.8', + 'version': '16.0.0.8.9', 'category': 'Hy', 'author': 'Fabien Bourgeois', 'license': 'Other OSI approved licence', diff --git a/hy_odoo/xml.hy b/hy_odoo/xml.hy index 94a181f..744e0e2 100644 --- a/hy_odoo/xml.hy +++ b/hy_odoo/xml.hy @@ -33,7 +33,7 @@ (cond (instance? str children) (setv (. parent text) children) (instance? XMLDictElement children) (do - (setv attrs (dfor [k v] (.items (. children attrs)) [(str k) (str v)])) + (setv attrs (dfor [k v] (.items (. children attrs)) (str k) (str v))) (setv new-parent (.SubElement ET parent (. children tag) attrs) subchildren (. children children)) (when subchildren) (xmlchild new-parent subchildren))