view.py
changeset 3720 5376aaadd16b
parent 3451 6b46d73823f5
parent 3689 deb13e88e037
child 3890 d7a270f50f54
--- a/view.py	Thu Oct 15 11:20:26 2009 +0200
+++ b/view.py	Mon Oct 19 15:16:41 2009 +0200
@@ -213,7 +213,7 @@
         coltypes = rset.column_types(0)
         if len(coltypes) == 1:
             etype = iter(coltypes).next()
-            if not self._cw.schema.eschema(etype).is_final():
+            if not self._cw.schema.eschema(etype).final:
                 if len(rset) == 1:
                     entity = rset.get_entity(0, 0)
                     return entity.absolute_url(vid=self.__regid__)