add print
This commit is contained in:
parent
51849d9a0a
commit
88784535a6
|
@ -308,6 +308,7 @@ class CustomerService(metaclass=PoolMeta):
|
|||
response = Template.send(template, self, email,
|
||||
attach=False, attachments=[])
|
||||
if not response or response.status_code != 202:
|
||||
print(email)
|
||||
self.write({self}, {'notes': 'Fallo envio al correo: ' + email})
|
||||
|
||||
def send_emails_department(self):
|
||||
|
|
Loading…
Reference in New Issue