minor correction
This commit is contained in:
parent
8762cb2f58
commit
4085f1f1f3
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue