From a2fe2f402e7f9733f58749a06684653b7f6940b5 Mon Sep 17 00:00:00 2001 From: Bertrand Chenal Date: Tue, 26 May 2009 19:46:00 +0200 Subject: [PATCH] Don't load inherited field if it is overloaded on the current object --- trytond/model/browse.py | 1 + 1 file changed, 1 insertion(+) diff --git a/trytond/model/browse.py b/trytond/model/browse.py index 0deb7670d0..59af073f81 100644 --- a/trytond/model/browse.py +++ b/trytond/model/browse.py @@ -97,6 +97,7 @@ class BrowseRecord(object): # complete the field list with the inherited fields ffields += [x for x in inherits if not hasattr(x[1], 'get') \ and x[0] not in self._data[self._id] \ + and x[0] not in self._model._columns \ and ((not x[1].translate \ and x[1]._type not in ('text', 'binary')) \ or x[0] == name)]