Skip to content
Snippets Groups Projects

View fixes, bound dimension fixes, code QoL

Merged Houzefa Abbasbhay requested to merge topic/16.0/zouzou into branch/16.0
Files
2
@@ -326,6 +326,9 @@
xpath = f"//field[@name='{subfield}']" + xpath
for node in doc.xpath(xpath):
if not subfield and list(node.iterancestors(tag="field")):
# This xpath caught an analytic_dimensions field within another field;
# this must be a sub-view embedded within main view (eg sale.order.line
# within sale.order views).
continue
parent = node.getparent()
attrs_to_copy = node.attrib
Loading