merge stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 10 Jun 2009 12:50:05 +0200
branchstable
changeset 2090 089d1705c89c
parent 2087 88fa02f50e71 (current diff)
parent 2089 b1070848726b (diff)
child 2091 a7ea618e5478
merge
--- a/web/views/forms.py	Wed Jun 10 12:09:06 2009 +0200
+++ b/web/views/forms.py	Wed Jun 10 12:50:05 2009 +0200
@@ -514,6 +514,12 @@
             results.append((state.view('combobox'), state.eid))
         return sorted(results)
 
+    def srelations_by_category(self, categories=None, permission=None):
+        return ()
+
+    def should_display_add_new_relation_link(self, rschema, existant, card):
+        return False
+
 
 class CompositeForm(FieldsForm):
     """form composed for sub-forms"""