Пример #1
0
 def _email_send(self, email_from, subject, body, on_error=None):
     for partner in self.filtered('email'):
         tools.email_send(email_from, [partner.email], subject, body, on_error)
     return True
Пример #2
0
 def _email_send(self, email_from, subject, body, on_error=None):
     for partner in self.filtered('email'):
         tools.email_send(email_from, [partner.email], subject, body,
                          on_error)
     return True