From 1155bccfdc4130423d4c28bcf1fef49931122bb1 Mon Sep 17 00:00:00 2001 From: Elvis Date: Mon, 13 Nov 2023 20:38:24 -0500 Subject: [PATCH] remove prints --- customer_service.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/customer_service.py b/customer_service.py index 305527f..f090b61 100644 --- a/customer_service.py +++ b/customer_service.py @@ -413,12 +413,6 @@ class CustomerService(metaclass=PoolMeta): @classmethod def search_current_risk(cls, name, clause): - # pool = Pool() - # CustomerService = pool.get('crm.customer_service') - # customer_service = CustomerService.__table__() - # query = customer_service.select(customer_service.id) - # datetime.today()-(datecustomer_service.cs_date)) - print(clause[2], 'este es mi clause') cursor = Transaction().connection.cursor() if clause[2] == 'Higher': query = f"""select id from crm_customer_service where (state='open' AND media='supersalud') AND @@ -436,7 +430,6 @@ class CustomerService(metaclass=PoolMeta): result = cursor.fetchall() ids = [tupla[0] for tupla in result] return [('id', 'in', ids)] - # return [('id', 'in', query)] def send_email_customer(self, template, attachments=[]): if self.department_region and self.department_region.emails: