mirror of
https://bitbucket.org/presik/trytonpsk-crm_fiduprevisora.git
synced 2023-12-14 05:33:07 +01:00
Fix mising instance
This commit is contained in:
parent
ff67056e0a
commit
6d39242583
|
@ -269,8 +269,8 @@ class CustomerService(metaclass=PoolMeta):
|
|||
if res['status'] == 'success':
|
||||
super(CustomerService, cls).open(services)
|
||||
for service in services:
|
||||
if service.email or party.email:
|
||||
service.send_email_notification(service.email or party.email)
|
||||
if service.email or service.party.email:
|
||||
service.send_email_notification(service.email or service.party.email)
|
||||
service.send_emails_department()
|
||||
else:
|
||||
cls.cancel(services)
|
||||
|
|
Loading…
Reference in a new issue