# HG changeset patch # User Sylvain Thénault # Date 1318494267 -7200 # Node ID 64719f6933d413d02bbeee03b5a5e97a2a4f5844 # Parent 1faa8edb5ae3052e7d12a598215ae1c9e76b3240 [action] has_editable_relation first argument is once_is_enough flag, not an action name diff -r 1faa8edb5ae3 -r 64719f6933d4 web/views/actions.py --- a/web/views/actions.py Thu Oct 13 09:44:14 2011 +0200 +++ b/web/views/actions.py Thu Oct 13 10:24:27 2011 +0200 @@ -147,7 +147,7 @@ class ModifyAction(action.Action): __regid__ = 'edit' __select__ = (action.Action.__select__ - & one_line_rset() & has_editable_relation('add')) + & one_line_rset() & has_editable_relation()) title = _('modify') category = 'mainactions'