diff --git a/odoo_website_helpdesk_dashboard/models/helpdesk_dashboard.py b/odoo_website_helpdesk_dashboard/models/helpdesk_dashboard.py index d861a2f29..2fc76c44a 100644 --- a/odoo_website_helpdesk_dashboard/models/helpdesk_dashboard.py +++ b/odoo_website_helpdesk_dashboard/models/helpdesk_dashboard.py @@ -208,15 +208,12 @@ class HelpDeskTicket(models.Model): """polarArea chart""" ticket_count = [] team_list = [] - # print(tickets,'tickets') tasks=[] project_task = self.env['project.task'].search([('ticket_billed', '=', True)]) for rec in project_task: tasks.append(rec.ticket_id.id) - print(tasks,'tsk') tickets = self.env['help.ticket'].search([('id', 'in', tasks)]) - # ticket_ids = tickets.ids - print(tickets.ids,'tkts') + for rec in tickets: # if rec.id in teams.ids: @@ -239,7 +236,6 @@ class HelpDeskTicket(models.Model): count.append(record.get('value')) # team = [count, name] - print(team) return team @api.model diff --git a/odoo_website_helpdesk_dashboard/static/src/xml/dashboard_view.xml b/odoo_website_helpdesk_dashboard/static/src/xml/dashboard_view.xml index d01f133af..e28c62013 100644 --- a/odoo_website_helpdesk_dashboard/static/src/xml/dashboard_view.xml +++ b/odoo_website_helpdesk_dashboard/static/src/xml/dashboard_view.xml @@ -126,7 +126,7 @@

Tickets by Month


- +
@@ -135,7 +135,7 @@

Team - Tickets Count Ratio


- +
@@ -163,7 +163,7 @@

Team - Resolved Tickets


- +