# HG changeset patch # User Sylvain Thénault # Date 1249404419 -7200 # Node ID c700ace6ebfd16791b8bed578ca09652b7e44622 # Parent 0518ca8f63e3e18d360e93046bab9c6e756674df cleanup diff -r 0518ca8f63e3 -r c700ace6ebfd web/views/editforms.py --- a/web/views/editforms.py Tue Aug 04 18:44:24 2009 +0200 +++ b/web/views/editforms.py Tue Aug 04 18:46:59 2009 +0200 @@ -95,9 +95,10 @@ class ClickAndEditFormView(FormViewMixIn, EntityView): - """form used to permit ajax edition of an attribute of an entity in a view + """form used to permit ajax edition of a relation or attribute of an entity + in a view, if logged user have the permission to edit it. - (double-click on the field to see an appropriate edition widget) + (double-click on the field to see an appropriate edition widget). """ id = 'doreledit' __select__ = non_final_entity() & match_kwargs('rtype') @@ -272,8 +273,6 @@ self.wview(vid, entity.related(rtype, role), 'null') return False if eschema.role_rproperty(role, rschema, 'composite') == role: - self.warning('reledit cannot be applied : (... %s %s [composite])' - % (rschema, eschema)) self.wview(rvid, entity.related(rtype, role), 'null') return False return super(AutoClickAndEditFormView, self).should_edit_relation(