equal
deleted
inserted
replaced
548 """ |
548 """ |
549 entity = form.edited_entity |
549 entity = form.edited_entity |
550 pending_inserts = set(get_pending_inserts(form._cw, form.edited_entity.eid)) |
550 pending_inserts = set(get_pending_inserts(form._cw, form.edited_entity.eid)) |
551 for pendingid in pending_inserts: |
551 for pendingid in pending_inserts: |
552 eidfrom, rtype, eidto = pendingid.split(':') |
552 eidfrom, rtype, eidto = pendingid.split(':') |
|
553 pendingid = 'id' + pendingid |
553 if typed_eid(eidfrom) == entity.eid: # subject |
554 if typed_eid(eidfrom) == entity.eid: # subject |
554 label = display_name(form._cw, rtype, 'subject', |
555 label = display_name(form._cw, rtype, 'subject', |
555 entity.__regid__) |
556 entity.__regid__) |
556 reid = eidto |
557 reid = eidto |
557 else: |
558 else: |