diff -r 29f74716fd70 -r 5376aaadd16b web/views/magicsearch.py --- a/web/views/magicsearch.py Thu Oct 15 11:20:26 2009 +0200 +++ b/web/views/magicsearch.py Mon Oct 19 15:16:41 2009 +0200 @@ -279,7 +279,7 @@ eschema = self._cw.schema.eschema(etype) rtype = self._get_attribute_name(word2, eschema) # expand shortcut if rtype is a non final relation - if not self._cw.schema.rschema(rtype).is_final(): + if not self._cw.schema.rschema(rtype).final: return self._expand_shortcut(etype, rtype, word3) if '%' in word3: searchop = 'LIKE '