From 82d970f8ef71073fcd95036a7847e0c3ccc79830 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Thu, 27 Dec 2007 08:13:33 +0000 Subject: [PATCH] Added comment line bzr revid: fp@tinyerp.com-c2a7376283f63d02b0c228650ed92e51f60a3522 --- bin/osv/orm.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/osv/orm.py b/bin/osv/orm.py index edaf3635b3e..6a0681edf42 100644 --- a/bin/osv/orm.py +++ b/bin/osv/orm.py @@ -1488,6 +1488,7 @@ class orm(object): context={} def _inherit_apply(src, inherit): def _find(node, node2): + # Check if xpath query or normal inherit (with field matching) if node2.nodeType==node2.ELEMENT_NODE and node2.localName=='xpath': res = xpath.Evaluate(node2.getAttribute('expr'), node) return res and res[0]