--- a/web/formfields.py Thu Oct 15 18:43:04 2009 +0200
+++ b/web/formfields.py Thu Oct 15 20:29:21 2009 +0200
@@ -524,7 +524,7 @@
if role == 'subject':
targetschema = rschema.objects(eschema)[0]
help = rschema.rproperty(eschema, targetschema, 'description')
- if rschema.is_final():
+ if rschema.final:
if rschema.rproperty(eschema, targetschema, 'internationalizable'):
kwargs.setdefault('internationalizable', True)
def get_default(form, es=eschema, rs=rschema):
@@ -540,7 +540,7 @@
else:
kwargs.setdefault('label', (eschema.type, rschema.type))
kwargs.setdefault('help', help)
- if rschema.is_final():
+ if rschema.final:
if skip_meta_attr and rschema in eschema.meta_attributes():
return None
fieldclass = FIELDS[targetschema]