web/views/autoform.py
branchstable
changeset 6725 6e6d1d19f341
parent 6630 f516ee1ef36c
child 7063 b07ee816bffb
--- a/web/views/autoform.py	Wed Dec 01 17:08:42 2010 +0100
+++ b/web/views/autoform.py	Thu Dec 02 10:08:28 2010 +0100
@@ -550,6 +550,7 @@
         pending_inserts = set(get_pending_inserts(form._cw, form.edited_entity.eid))
         for pendingid in pending_inserts:
             eidfrom, rtype, eidto = pendingid.split(':')
+            pendingid = 'id' + pendingid
             if typed_eid(eidfrom) == entity.eid: # subject
                 label = display_name(form._cw, rtype, 'subject',
                                      entity.__regid__)