hooks/notification.py
changeset 8900 010a59e12d89
parent 8898 c570d15dce7b
child 8928 f5b40b66d36e
equal deleted inserted replaced
8899:c7a95ebcc093 8900:010a59e12d89
   231         except Exception:
   231         except Exception:
   232             # may raise an error during deletion process, for instance due to
   232             # may raise an error during deletion process, for instance due to
   233             # missing required relation
   233             # missing required relation
   234             title = '#%s' % self.entity.eid
   234             title = '#%s' % self.entity.eid
   235         self._cw.transaction_data.setdefault('pendingchanges', []).append(
   235         self._cw.transaction_data.setdefault('pendingchanges', []).append(
   236             ('delete_entity', (self.entity.eid, self.entity.__regid__, title)))
   236             ('delete_entity', (self.entity.eid, self.entity.cw_etype, title)))
   237         return True
   237         return True