# HG changeset patch # User Sylvain Thénault # Date 1288979286 -3600 # Node ID 17208a358bb1417bead516dd581ebe91e2c5486f # Parent 7d68948015ba508124e3fc16f573c61a2ff4f9e8 [action] set mainform=False to ensure we don't consume previously posted form validation errors diff -r 7d68948015ba -r 17208a358bb1 web/views/actions.py --- 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: