web/views/actions.py
branchstable
changeset 6691 17208a358bb1
parent 6459 7f46ec158c48
child 6961 686c59dfc401
--- a/web/views/actions.py	Fri Nov 05 18:48:05 2010 +0100
+++ b/web/views/actions.py	Fri Nov 05 18:48:06 2010 +0100
@@ -47,7 +47,7 @@
         # if user has no update right but it can modify some relation,
         # display action anyway
         form = entity._cw.vreg['forms'].select('edition', entity._cw,
-                                               entity=entity)
+                                               entity=entity, mainform=False)
         for dummy in form.editable_relations():
             return 1
         try: