# HG changeset patch # User Sylvain Thénault # Date 1264498257 -3600 # Node ID 9a902670e4fff2e1125809cbd61a9fc2d98cd3b5 # Parent ef8e20bfa287df14e56d3b69b49c6b7f18f4ed2b must skip internal field value from the generic relations combobox diff -r ef8e20bfa287 -r 9a902670e4ff web/views/editviews.py --- a/web/views/editviews.py Tue Jan 26 10:29:50 2010 +0100 +++ b/web/views/editviews.py Tue Jan 26 10:30:57 2010 +0100 @@ -331,7 +331,7 @@ if eview: # skip blank value options.append('' % xml_escape(eview)) - else: + elif reid != ff.INTERNAL_FIELD_VALUE: optionid = relation_id(entity.eid, rtype, role, reid) if optionid not in pending_inserts: # prefix option's id with letters to make valid XHTML wise