equal
deleted
inserted
replaced
160 def render_emails(self, **kwargs): |
160 def render_emails(self, **kwargs): |
161 """generate and send emails for this view (one per recipient)""" |
161 """generate and send emails for this view (one per recipient)""" |
162 self._kwargs = kwargs |
162 self._kwargs = kwargs |
163 recipients = self.recipients() |
163 recipients = self.recipients() |
164 if not recipients: |
164 if not recipients: |
165 self.info('skipping %s notification, no recipients', self.id) |
165 self.info('skipping %s notification, no recipients', self.__regid__) |
166 return |
166 return |
167 if self.cw_rset is not None: |
167 if self.cw_rset is not None: |
168 entity = self.cw_rset.get_entity(self.cw_row or 0, self.cw_col or 0) |
168 entity = self.cw_rset.get_entity(self.cw_row or 0, self.cw_col or 0) |
169 # if the view is using timestamp in message ids, no way to reference |
169 # if the view is using timestamp in message ids, no way to reference |
170 # previous email |
170 # previous email |