# HG changeset patch # User Houzefa Abbasbhay <houzefa.abba@xcg-consulting.fr> # Date 1437487083 -7200 # Tue Jul 21 15:58:03 2015 +0200 # Branch odoo8 # Node ID 27122f4c8bc3c191909e7c1bcc0c8646275f372d # Parent b366006f0d6474076d8c29ff8e4767098d6d28a3 Fix issues when there is no analytic structure diff --git a/NEWS b/NEWS --- a/NEWS +++ b/NEWS @@ -1,3 +1,5 @@ +- Fix issues when there is no analytic structure + analytic_structure 1.9 - Add License and Copyright (AGPL & XCG) diff --git a/analytic_structure.py b/analytic_structure.py --- a/analytic_structure.py +++ b/analytic_structure.py @@ -308,7 +308,7 @@ attrs[attr] = value parent.append(etree.Element('field', attrs)) - parent.extend(next_children) + parent.extend(next_children) view['arch'] = etree.tostring(doc)