[sobject] fix notification operation
regression introduced in bf4003760e02 Operation use self. session. not self._cw.
I'm a bit surprised that its not tested.
closes ##2870077
--- a/hooks/notification.py Fri May 03 16:36:42 2013 +0200
+++ b/hooks/notification.py Mon May 06 19:40:15 2013 +0200
@@ -158,7 +158,7 @@
view = session.vreg['views'].select('notif_entity_updated', session,
rset=session.eid_rset(eid),
row=0)
- notify_on_commit(self._cw, view)
+ notify_on_commit(self.session, view)
class EntityUpdateHook(NotificationHook):