minor correction

This commit is contained in:
Camilo Sarmiento 2020-09-11 11:18:02 -05:00
parent 8762cb2f58
commit 4085f1f1f3
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ class CustomerService(metaclass=PoolMeta):
service.get_message(message)
return res
if service.media != 'supersalud':
if service.media == 'web':
Attachment = Pool().get('ir.attachment')
attachments = Attachment.search([
('resource', '=', 'crm.customer_service,' + str(service.id))