From deed2ac28c71998ab147a9e70e1f9c032a524cf1 Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Tue, 9 Aug 2011 10:56:28 +0200 Subject: [FIX] incorrect traversal of the tree: field handling the parent-child relationship *must not* be hardcoded (it's provided by fields_view_get) Also parent records provide the ids of their children directly, and fvg gives the name of the field in which these children live, there is no need to perform a search + read for every level of the tree past the first one, just perform a read() of the provided ids bzr revid: xmo@openerp.com-20110809085628-klvic2fmlvfmxjt3 --- addons/base/static/src/xml/base.xml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'addons/base/static/src/xml/base.xml') diff --git a/addons/base/static/src/xml/base.xml b/addons/base/static/src/xml/base.xml index 61ff928d4d2..6428b9b2c73 100644 --- a/addons/base/static/src/xml/base.xml +++ b/addons/base/static/src/xml/base.xml @@ -238,10 +238,7 @@

-
@@ -259,9 +256,10 @@
- + + - + -- cgit v1.2.3