sobjects/notification.py
changeset 9006 e4ea8f9ffa11
parent 9005 63cf580accfc
child 9305 f7a738afc295
--- a/sobjects/notification.py	Thu Jun 13 12:03:59 2013 +0200
+++ b/sobjects/notification.py	Thu Jun 13 12:01:23 2013 +0200
@@ -292,9 +292,8 @@
 url: %(url)s
 """
 
-    def context(self, **kwargs):
+    def context(self, changes=(), **kwargs):
         context = super(EntityUpdatedNotificationView, self).context(**kwargs)
-        changes = self._cw.transaction_data['changes'][self.cw_rset[0][0]]
         _ = self._cw._
         formatted_changes = []
         entity = self.cw_rset.get_entity(self.cw_row or 0, self.cw_col or 0)