web/views/autoform.py
branchstable
changeset 4570 ede247bbbf62
parent 4519 cce343c7d18a
child 4579 19d73051eb57
--- a/web/views/autoform.py	Mon Feb 15 15:05:15 2010 +0100
+++ b/web/views/autoform.py	Mon Feb 15 15:10:25 2010 +0100
@@ -686,7 +686,7 @@
             return self.display_fields
         # XXX we should simply put eid in the generated section, no?
         return [(rtype, role) for rtype, _, role in self._relations_by_section(
-            'attributes', strict=strict) if rtype != 'eid']
+            'attributes', 'update', strict) if rtype != 'eid']
 
     def editable_relations(self):
         """return a sorted list of (relation's label, relation'schema, role) for