--- a/web/formfields.py Thu Oct 15 11:20:26 2009 +0200
+++ b/web/formfields.py Mon Oct 19 15:16:41 2009 +0200
@@ -586,7 +586,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):
@@ -603,7 +603,7 @@
kwargs.setdefault('label', (eschema.type, rschema.type))
kwargs['eidparam'] = True
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]