diff --git a/odoo_zendesk_connector/README.rst b/odoo_zendesk_connector/README.rst new file mode 100644 index 000000000..a9ee50a32 --- /dev/null +++ b/odoo_zendesk_connector/README.rst @@ -0,0 +1,52 @@ +.. image:: https://img.shields.io/badge/licence-LGPL--3-green.svg + :target: https://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 + +Odoo Zendesk Connection +======================= +* This module will allow you to integrate the Odoo helpdesk with Zendesk, + enabling you to create, update, and delete tickets. Additionally, it facilitates + the import and export of tickets between Odoo and Zendesk. + +Configuration +============= +* Enable Connect Zendesk in the configuration setting and provide your Company Domain, +Company Email, API key and the Password + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +Lesser General Public License, Version 3 (LGPL v3). +(https://www.gnu.org/licenses/lgpl-3.0-standalone.html) + +Credits +------- +* Developer:(v16) Anjana P V, Contact: odoo@cybrosys.com + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com +* Website : https://cybrosys.com + +Installation +============ + - www.odoo.com/documentation/16.0/setup/install.html + - Install our custom addon + +Bug Tracker +----------- +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Maintainer +========== +.. image:: https://cybrosys.com/images/logo.png + :target: https://cybrosys.com +This module is maintained by Cybrosys Technologies. +For support and more information, please visit https://www.cybrosys.com + +Further information +=================== +HTML Description: ``__ diff --git a/odoo_zendesk_connector/__init__.py b/odoo_zendesk_connector/__init__.py new file mode 100644 index 000000000..7b2c59c1c --- /dev/null +++ b/odoo_zendesk_connector/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from . import models diff --git a/odoo_zendesk_connector/__manifest__.py b/odoo_zendesk_connector/__manifest__.py new file mode 100644 index 000000000..39084b006 --- /dev/null +++ b/odoo_zendesk_connector/__manifest__.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +{ + 'name': 'Odoo Zendesk Connector', + 'version': '16.0.1.0.0', + 'category': 'Productivity', + 'summary': """Connects Helpdesk in Odoo and Zendesk""", + 'description': """This module will allow you to integrate the Odoo + helpdesk with Zendesk,enabling you to create, update, and delete tickets. + Additionally, it facilitates the import and export of tickets between + Odoo and Zendesk.""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'depends': ['base', 'mail', 'odoo_website_helpdesk'], + 'data': [ + 'security/ir.model.access.csv', + 'views/import_export_ticket_views.xml', + 'views/res_config_settings_views.xml', + 'views/help_ticket_views.xml'], + 'images': ['static/description/banner.jpg'], + 'license': 'LGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False +} diff --git a/odoo_zendesk_connector/doc/RELEASE_NOTES.md b/odoo_zendesk_connector/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..b8b728f0a --- /dev/null +++ b/odoo_zendesk_connector/doc/RELEASE_NOTES.md @@ -0,0 +1,5 @@ +## Module +#### 19.01.2024 +#### Version 16.0.1.0.0 +##### ADD +- Initial Commit for Odoo Zendesk Connector diff --git a/odoo_zendesk_connector/models/__init__.py b/odoo_zendesk_connector/models/__init__.py new file mode 100644 index 000000000..3e02cb5e7 --- /dev/null +++ b/odoo_zendesk_connector/models/__init__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from .import help_ticket +from .import import_export_ticket +from .import res_config_settings diff --git a/odoo_zendesk_connector/models/help_ticket.py b/odoo_zendesk_connector/models/help_ticket.py new file mode 100644 index 000000000..d30325aca --- /dev/null +++ b/odoo_zendesk_connector/models/help_ticket.py @@ -0,0 +1,232 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +import json +import requests +from odoo import fields, models, _ +from odoo.exceptions import UserError + + +class HelpTicket(models.Model): + """In this class there are functions for create a ticket in to zendesk, + update a ticket, and delete a ticket from zendesk""" + _inherit = 'help.ticket' + + zendesk_ticket_no = fields.Char(string='Zendesk Ticket Id', + help='Shows the Id of ticket in Zendesk', + readonly=True) + is_ticket_from_zendesk = fields.Boolean(string='Ticket From Zendesk', + help='Is this a ticket from' + ' Zendesk') + email = fields.Char(string='Email', help='Shows the email of the customer', + required=True) + + def action_create_to_zendesk(self): + """This function will help to create a ticket in to the zendesk""" + company_domain = self.env['ir.config_parameter'].sudo().get_param( + 'odoo_zendesk_connector.company_domain') + company_email = self.env['ir.config_parameter'].sudo().get_param( + 'odoo_zendesk_connector.company_email') + password = self.env['ir.config_parameter'].sudo().get_param( + 'odoo_zendesk_connector.password') + # Searching for the existence of the tickets in the zendesk + if self.zendesk_ticket_no: + zen_id_search_url = f'https://{company_domain}.zendesk.com/api/v2/tickets/{self.zendesk_ticket_no}.json' + zen_id_search_response = requests.get(zen_id_search_url, timeout=180, + auth=(company_email, password)) + if zen_id_search_response.status_code == 200: + return { + 'type': 'ir.actions.client', + 'tag': 'display_notification', + 'params': { + 'title': _("Warning"), + 'message': _("Ticket already exist"), + 'sticky': False, + }, + } + priority = { + '1': 'low', + '2': 'normal', + '3': 'high', + '4': 'urgent' + } + zen_prio = 'None' + if self.priority in priority: + zen_prio = priority[self.priority] + headers = {'content-type': 'application/json'} + # Url for searching whether the in the customer is already existing in + # zendesk + customer_search_url = f'https://{company_domain}.zendesk.com/api/v2/users/search.json?query=email:{self.email}' + search_response = requests.get(customer_search_url, + auth=(company_email, password), + timeout=20) + if search_response.status_code == 200: + results = search_response.json().get('users') + if results and len(results) > 0: + # Customer already exists, use existing ID + customer_id = results[0]['id'] + else: + # Customer does not exists + data = { + 'user': { + 'name': self.customer_id.name, + 'email': self.email, + } + } + # Url for creating new user in zendesk + user_url = f'https://{company_domain}.zendesk.com/api/v2/users.json' + user_response = requests.post(user_url, json=data, + auth=(company_email, password), + headers=headers) + if user_response.status_code == 201: + # User created successfully, get new ID + customer_id = user_response.json().get('user').get('id') + else: + raise UserError(_(user_response.json()['error'])) + # Details for creating a Zendesk ticket + data = {'ticket': {'subject': self.subject, 'priority': zen_prio, + 'comment': {'body': self.description}, + 'requester_id': customer_id}} + # Url for creating a ticket in Zendesk + url = f'https://{company_domain}.zendesk.com/api/v2/tickets.json' + response = requests.post(url, data=json.dumps(data), + auth=(company_email, password), + headers=headers) + if response.json().get("ticket"): + self.zendesk_ticket_no = response.json()['ticket']['id'] + if response.status_code != 201: + return { + 'type': 'ir.actions.client', + 'tag': 'display_notification', + 'params': { + 'title': _("Error!"), + 'message': _("Creation of Zendesk ticket seems to be " + "failed!"), + 'sticky': False, + } + } + + return { + 'type': 'ir.actions.client', + 'tag': 'display_notification', + 'params': { + 'title': _("Success!"), + 'message': _("Successfully Created the ticket to Zendesk"), + 'sticky': False, + } + } + + def action_update_zendesk_ticket(self): + """This function is used to update a ticket from oddo""" + company_domain = self.env['ir.config_parameter'].sudo().get_param( + 'odoo_zendesk_connector.company_domain') + company_email = self.env['ir.config_parameter'].sudo().get_param( + 'odoo_zendesk_connector.company_email') + password = self.env['ir.config_parameter'].sudo().get_param( + 'odoo_zendesk_connector.password') + zen_id = self.zendesk_ticket_no + priority = { + '1': 'low', + '2': 'normal', + '3': 'high', + '4': 'urgent' + } + zen_prio = 'None' + if self.priority in priority: + zen_prio = priority[self.priority] + data = { + 'ticket': { + 'comment': {'body': self.description}, + 'priority': zen_prio, + 'subject': self.subject, + 'requester': { + 'name': self.customer_name, # Add the customer name field + 'email': self.email # Add the customer email field + } + } + } + # Url that access the updating ticket in zendesk + url = f'https://{company_domain}.zendesk.com/api/v2/tickets/{zen_id}.json' + headers = {'content-type': 'application/json'} + # Do the HTTP put request + response = requests.put(url, data=json.dumps(data), + auth=(company_email, password), + headers=headers) + # Check for HTTP codes other than 200 + if response.status_code != 200: + # Error in Updating ticket + return { + 'type': 'ir.actions.client', + 'tag': 'display_notification', + 'params': { + 'title': _("Error!"), + 'message': _("Updation of the ticket seems to be failed"), + 'sticky': False, + } + } + # Successfully updated the ticket + return { + 'type': 'ir.actions.client', + 'tag': 'display_notification', + 'params': { + 'title': _("Success!"), + 'message': _("Successfully Updated the ticket"), + 'sticky': False, + } + } + + def action_delete_zendesk_ticket(self): + """This function is used to delete a ticket from zendesk""" + company_domain = self.env['ir.config_parameter'].sudo().get_param( + 'odoo_zendesk_connector.company_domain') + company_email = self.env['ir.config_parameter'].sudo().get_param( + 'odoo_zendesk_connector.company_email') + password = self.env['ir.config_parameter'].sudo().get_param( + 'odoo_zendesk_connector.password') + zendesk_id = self.zendesk_ticket_no + # Set up the API request headers and URL + headers = {'Content-Type': 'application/json'} + # Url for finding the ticket which want to be deleted + url = f'https://{company_domain}.zendesk.com/api/v2/tickets/{zendesk_id}.json' + response = requests.delete(url, auth=(company_email, password), + headers=headers, timeout=180) + if response.status_code == 204: + # Ticket deleted successfully + return { + 'type': 'ir.actions.client', + 'tag': 'display_notification', + 'params': { + 'title': _("Success!"), + 'message': _("Successfully deleted the tickets"), + 'sticky': False, + } + } + else: + # Have issue in deleting the ticket + return { + 'type': 'ir.actions.client', + 'tag': 'display_notification', + 'params': { + 'title': _("Error"), + 'message': _("Have issues with deleting the ticket"), + 'sticky': False, + } + } diff --git a/odoo_zendesk_connector/models/import_export_ticket.py b/odoo_zendesk_connector/models/import_export_ticket.py new file mode 100644 index 000000000..208f7b062 --- /dev/null +++ b/odoo_zendesk_connector/models/import_export_ticket.py @@ -0,0 +1,231 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +import json +import requests +from datetime import datetime, time +from odoo import api, fields, models, _ +from odoo.exceptions import ValidationError, UserError + + +class ImportExportTicket(models.TransientModel): + """This class is used to import and export the tickets between odoo and + zendesk""" + _name = 'import.export.ticket' + _description = 'Import and Export Tickets' + _inherit = 'mail.thread' + + start_date = fields.Date(string='Start Date', + help='Mention the start date', Required=True) + end_date = fields.Date(string='End Date', help='Mention the end date', + Required=True) + + @api.constrains('start_date', 'end_date') + def check_start_date(self): + """This function is used to validate the entered date""" + if not self.start_date or not self.end_date: + raise ValidationError(_("Please provide the dates")) + if self.start_date > self.end_date: + raise ValidationError(_("Please check the date that you " + "provide")) + + def action_import_tickets(self): + """This function is used to import the tickets from Zendesk""" + company_domain = self.env['ir.config_parameter'].sudo().get_param( + 'odoo_zendesk_connector.company_domain') + company_email = self.env['ir.config_parameter'].sudo().get_param( + 'odoo_zendesk_connector.company_email') + api_key = self.env['ir.config_parameter'].sudo().get_param( + 'odoo_zendesk_connector.api_key') + # Url for getting the tickets + url = f"https://{company_domain}.zendesk.com/api/v2/tickets.json" + headers = { + "Content-Type": "application/json", + } + auth = (f"{company_email}/token", api_key) + response = requests.get(url, headers=headers, auth=auth) + if response.ok: + tickets = response.json()["tickets"] + for ticket in tickets: + zendesk_ticket_date = datetime.strptime( + ticket["created_at"], + '%Y-%m-%dT%H:%M:%SZ').date() + if self.start_date <= zendesk_ticket_date <= self.end_date: + exist_ticket = self.env['help.ticket'].search( + [('zendesk_ticket_no', '=', ticket["id"])]) + if not exist_ticket: + requester_id = ticket["requester_id"] + # Url for getting each requester + requester_url = f'https://{company_domain}.zendesk.com/api/v2/users/{requester_id}.json' + requester_response = requests.get(requester_url, + headers=headers, + auth=auth, + timeout=60) + # customer=0 + if response.status_code == 200: + requester_data = requester_response.json()['user'] + requester_name = requester_data['name'] + requester_email = requester_data['email'] + customer = self.env['res.partner'].search( + [('name', '=', requester_name), + ('email', '=', requester_email)]).id + if not customer: + new_customer = self.env['res.partner'].create({ + 'name': requester_name, + 'email': requester_email + }) + customer = new_customer.id + else: + pass + priority_field = { + None: '0', + 'low': '1', + 'normal': '2', + 'high': '3', + 'urgent': '4' + } + priority = priority_field.get(ticket["priority"], + '0') + self.env['help.ticket'].create({ + "subject": ticket["subject"], + "description": ticket["description"], + 'priority': priority, + 'is_ticket_from_zendesk': True, + 'zendesk_ticket_no': ticket["id"], + 'customer_id': customer, + 'email': requester_email, + }) + notification = { + 'type': 'ir.actions.client', + 'tag': 'display_notification', + 'params': { + 'title': _("Success!"), + 'message': _("Tickets are imported" + " successfully"), + 'sticky': False, + } + } + else: + # Error in Importing tickets + notification = { + 'type': 'ir.actions.client', + 'tag': 'display_notification', + 'params': { + 'title': _("Error!"), + 'message': _( + "It seems to have some issue with importing " + "the tickets"), + 'sticky': False, + } + } + return notification + + def action_export_tickets(self): + """This function is used to export tickets from odoo to zendesk""" + company_domain = self.env['ir.config_parameter'].sudo().get_param( + 'odoo_zendesk_connector.company_domain') + company_email = self.env['ir.config_parameter'].sudo().get_param( + 'odoo_zendesk_connector.company_email') + password = self.env['ir.config_parameter'].sudo().get_param( + 'odoo_zendesk_connector.password') + export_start_date = datetime.combine(self.start_date, time.min) + export_end_date = datetime.combine(self.end_date, time.min) + headers = {'content-type': 'application/json'} + tickets_rec = self.env['help.ticket'].search( + [('create_date', '>=', export_start_date), + ('create_date', '<=', export_end_date), + ('is_ticket_from_zendesk', '=', False), + ]) + for rec in tickets_rec: + # Url to check whether a Zendesk ticket with same id exist + zen_id_search_url = f'https://{company_domain}.zendesk.com/api/v2/tickets/{rec.zendesk_ticket_no}.json' + zen_id_search_response = requests.get(zen_id_search_url, auth=( + company_email, password)) + if zen_id_search_response.status_code != 200: + # Ticket with same id does not exit, so create it as + # a new ticket in Zendesk + # Synchronizing the priority of Zendesk with priority of Odoo + priority = { + '1': 'low', + '2': 'normal', + '3': 'high', + '4': 'urgent' + } + zen_prio = 'None' + if rec.priority in priority: + zen_prio = priority[rec.priority] + # With this url checking whether a customer with same email + # is existing in Zendesk + customer_search_url = f'https://{company_domain}.zendesk.com/api/v2/users/search.json?query=email:{rec.email}' + search_response = requests.get(customer_search_url, + auth=(company_email, password)) + if search_response.status_code == 200: + results = search_response.json().get('users') + if results and len(results) > 0: + # Customer Exist + customer_id = results[0]['id'] + + else: + # Customer does not exist so, need to create a new + # customer + data = { + 'user': { + 'name': rec.customer_id.name, + 'email': rec.email, + } + } + # Creating new user + user_url = f'https://{company_domain}.zendesk.com/api/v2/users.json' + user_response = requests.post(user_url, json=data, + auth=( + company_email, + password), + headers=headers) + if user_response.status_code == 201: + # User created successfully, get new ID + customer_id = user_response.json().get('user').get( + 'id') + else: + raise UserError(_(user_response.json()['error'])) + # Creating a new ticket to Zendesk from Odoo + data = { + 'ticket': {'subject': rec.subject, 'priority': zen_prio, + 'comment': {'body': rec.description}, + 'requester_id': customer_id}} + url = f'https://{company_domain}.zendesk.com/api/v2/tickets.json' + response = requests.post(url, data=json.dumps(data), + auth=(company_email, password), + headers=headers) + if response.status_code != 201: + # Problem with exporting ticket to Zendesk + return { + 'type': 'ir.actions.client', + 'tag': 'display_notification', + 'params': { + 'title': _("Error!"), + 'message': _("Problem with exporting ticket to" + " Zendesk"), + 'sticky': False, + } + } + # Exported the tickets Successfully + if response.json().get("ticket"): + rec.zendesk_ticket_no = response.json()['ticket']['id'] diff --git a/odoo_zendesk_connector/models/res_config_settings.py b/odoo_zendesk_connector/models/res_config_settings.py new file mode 100644 index 000000000..b096840bb --- /dev/null +++ b/odoo_zendesk_connector/models/res_config_settings.py @@ -0,0 +1,82 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +import requests +from odoo import fields, models, _ + + +class ResConfigSettings(models.TransientModel): + """This function is used to add some fields in Configuration setting that + helps to establish the connection, and also check whether the connection is + established or not""" + _inherit = 'res.config.settings' + + is_connect_zendesk = fields.Boolean(string="Connect Zendesk", + help='Do you want to connect with ' + 'zendesk', + config_parameter= 'odoo_zendesk_connector.is_connect_zendesk') + company_domain = fields.Char(string='Company Domain', + help="Provide the domain of your company", + config_parameter= + 'odoo_zendesk_connector.company_domain') + company_email = fields.Char(string='Company Email', + help='Email of your company', + config_parameter= + 'odoo_zendesk_connector.company_email') + api_key = fields.Char(string='API', help='Generated api key', + config_parameter='odoo_zendesk_connector.api_key') + password = fields.Char(string='Password', help='Password of Zendesk ' + 'account', + config_parameter='odoo_zendesk_connector.password') + + def action_test_connection(self): + """This function is used to check whether the connection is + established or not""" + zendesk_email = self.company_email + zendesk_token = self.api_key + company_domain = self.company_domain + zendesk_url = f'https://{company_domain}.zendesk.com/api/v2/' + endpoint = 'tickets.json' + headers = {'Content-Type': 'application/json'} + auth = (zendesk_email + '/token', zendesk_token) + try: + response = requests.get(zendesk_url + endpoint, headers=headers, + auth=auth) + response.raise_for_status() + return { + 'type': 'ir.actions.client', + 'tag': 'display_notification', + 'params': { + 'title': _("Connection Test Succeeded!"), + 'message': _("Everything seems properly set up!"), + 'sticky': False, + } + } + except requests.exceptions.HTTPError as error: + return { + 'type': 'ir.actions.client', + 'tag': 'display_notification', + 'params': { + 'title': _('Error'), + 'message': _(error), + 'sticky': False, + } + } diff --git a/odoo_zendesk_connector/security/ir.model.access.csv b/odoo_zendesk_connector/security/ir.model.access.csv new file mode 100644 index 000000000..7a622b26b --- /dev/null +++ b/odoo_zendesk_connector/security/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id/id,group_id/id,perm_read,perm_write,perm_create,perm_unlink +access_help_ticket,access.help.ticket,odoo_website_helpdesk.model_help_ticket,base.group_user,1,1,1,1 +access_import_export_ticket,access.import.export.ticket,model_import_export_ticket,base.group_user,1,1,1,1 diff --git a/odoo_zendesk_connector/static/description/assets/icons/check.png b/odoo_zendesk_connector/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/icons/check.png differ diff --git a/odoo_zendesk_connector/static/description/assets/icons/chevron.png b/odoo_zendesk_connector/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/icons/chevron.png differ diff --git a/odoo_zendesk_connector/static/description/assets/icons/cogs.png b/odoo_zendesk_connector/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/icons/cogs.png differ diff --git a/odoo_zendesk_connector/static/description/assets/icons/consultation.png b/odoo_zendesk_connector/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/icons/consultation.png differ diff --git a/odoo_zendesk_connector/static/description/assets/icons/ecom-black.png b/odoo_zendesk_connector/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/icons/ecom-black.png differ diff --git a/odoo_zendesk_connector/static/description/assets/icons/education-black.png b/odoo_zendesk_connector/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/icons/education-black.png differ diff --git a/odoo_zendesk_connector/static/description/assets/icons/hotel-black.png b/odoo_zendesk_connector/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/icons/hotel-black.png differ diff --git a/odoo_zendesk_connector/static/description/assets/icons/license.png b/odoo_zendesk_connector/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/icons/license.png differ diff --git a/odoo_zendesk_connector/static/description/assets/icons/lifebuoy.png b/odoo_zendesk_connector/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/icons/lifebuoy.png differ diff --git a/odoo_zendesk_connector/static/description/assets/icons/manufacturing-black.png b/odoo_zendesk_connector/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/icons/manufacturing-black.png differ diff --git a/odoo_zendesk_connector/static/description/assets/icons/pos-black.png b/odoo_zendesk_connector/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/icons/pos-black.png differ diff --git a/odoo_zendesk_connector/static/description/assets/icons/puzzle.png b/odoo_zendesk_connector/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/icons/puzzle.png differ diff --git a/odoo_zendesk_connector/static/description/assets/icons/restaurant-black.png b/odoo_zendesk_connector/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/icons/restaurant-black.png differ diff --git a/odoo_zendesk_connector/static/description/assets/icons/service-black.png b/odoo_zendesk_connector/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/icons/service-black.png differ diff --git a/odoo_zendesk_connector/static/description/assets/icons/trading-black.png b/odoo_zendesk_connector/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/icons/trading-black.png differ diff --git a/odoo_zendesk_connector/static/description/assets/icons/training.png b/odoo_zendesk_connector/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/icons/training.png differ diff --git a/odoo_zendesk_connector/static/description/assets/icons/update.png b/odoo_zendesk_connector/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/icons/update.png differ diff --git a/odoo_zendesk_connector/static/description/assets/icons/user.png b/odoo_zendesk_connector/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/icons/user.png differ diff --git a/odoo_zendesk_connector/static/description/assets/icons/wrench.png b/odoo_zendesk_connector/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/icons/wrench.png differ diff --git a/odoo_zendesk_connector/static/description/assets/misc/categories.png b/odoo_zendesk_connector/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/misc/categories.png differ diff --git a/odoo_zendesk_connector/static/description/assets/misc/check-box.png b/odoo_zendesk_connector/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/misc/check-box.png differ diff --git a/odoo_zendesk_connector/static/description/assets/misc/compass.png b/odoo_zendesk_connector/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/misc/compass.png differ diff --git a/odoo_zendesk_connector/static/description/assets/misc/corporate.png b/odoo_zendesk_connector/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/misc/corporate.png differ diff --git a/odoo_zendesk_connector/static/description/assets/misc/customer-support.png b/odoo_zendesk_connector/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/misc/customer-support.png differ diff --git a/odoo_zendesk_connector/static/description/assets/misc/cybrosys-logo.png b/odoo_zendesk_connector/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/misc/cybrosys-logo.png differ diff --git a/odoo_zendesk_connector/static/description/assets/misc/features.png b/odoo_zendesk_connector/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/misc/features.png differ diff --git a/odoo_zendesk_connector/static/description/assets/misc/logo.png b/odoo_zendesk_connector/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/misc/logo.png differ diff --git a/odoo_zendesk_connector/static/description/assets/misc/pictures.png b/odoo_zendesk_connector/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/misc/pictures.png differ diff --git a/odoo_zendesk_connector/static/description/assets/misc/pie-chart.png b/odoo_zendesk_connector/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/misc/pie-chart.png differ diff --git a/odoo_zendesk_connector/static/description/assets/misc/right-arrow.png b/odoo_zendesk_connector/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/misc/right-arrow.png differ diff --git a/odoo_zendesk_connector/static/description/assets/misc/star.png b/odoo_zendesk_connector/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/misc/star.png differ diff --git a/odoo_zendesk_connector/static/description/assets/misc/support.png b/odoo_zendesk_connector/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/misc/support.png differ diff --git a/odoo_zendesk_connector/static/description/assets/misc/whatsapp.png b/odoo_zendesk_connector/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/misc/whatsapp.png differ diff --git a/odoo_zendesk_connector/static/description/assets/modules/1.png b/odoo_zendesk_connector/static/description/assets/modules/1.png new file mode 100644 index 000000000..d0f36b007 Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/modules/1.png differ diff --git a/odoo_zendesk_connector/static/description/assets/modules/l2.png b/odoo_zendesk_connector/static/description/assets/modules/l2.png new file mode 100644 index 000000000..a3194264c Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/modules/l2.png differ diff --git a/odoo_zendesk_connector/static/description/assets/modules/l3.png b/odoo_zendesk_connector/static/description/assets/modules/l3.png new file mode 100644 index 000000000..e894393ef Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/modules/l3.png differ diff --git a/odoo_zendesk_connector/static/description/assets/modules/l4.png b/odoo_zendesk_connector/static/description/assets/modules/l4.png new file mode 100644 index 000000000..ed11bd818 Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/modules/l4.png differ diff --git a/odoo_zendesk_connector/static/description/assets/modules/l5.png b/odoo_zendesk_connector/static/description/assets/modules/l5.png new file mode 100644 index 000000000..3415917c2 Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/modules/l5.png differ diff --git a/odoo_zendesk_connector/static/description/assets/modules/l6.png b/odoo_zendesk_connector/static/description/assets/modules/l6.png new file mode 100644 index 000000000..c7ea331ee Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/modules/l6.png differ diff --git a/odoo_zendesk_connector/static/description/assets/screenshots/hero.gif b/odoo_zendesk_connector/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..4d9a66630 Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/screenshots/hero.gif differ diff --git a/odoo_zendesk_connector/static/description/assets/screenshots/new_zendesk_01.png b/odoo_zendesk_connector/static/description/assets/screenshots/new_zendesk_01.png new file mode 100644 index 000000000..c02798ec2 Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/screenshots/new_zendesk_01.png differ diff --git a/odoo_zendesk_connector/static/description/assets/screenshots/new_zendesk_02.png b/odoo_zendesk_connector/static/description/assets/screenshots/new_zendesk_02.png new file mode 100644 index 000000000..1ab651469 Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/screenshots/new_zendesk_02.png differ diff --git a/odoo_zendesk_connector/static/description/assets/screenshots/new_zendesk_03.png b/odoo_zendesk_connector/static/description/assets/screenshots/new_zendesk_03.png new file mode 100644 index 000000000..2313151eb Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/screenshots/new_zendesk_03.png differ diff --git a/odoo_zendesk_connector/static/description/assets/screenshots/new_zendesk_04.png b/odoo_zendesk_connector/static/description/assets/screenshots/new_zendesk_04.png new file mode 100644 index 000000000..282ea78a7 Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/screenshots/new_zendesk_04.png differ diff --git a/odoo_zendesk_connector/static/description/assets/screenshots/new_zendesk_05.png b/odoo_zendesk_connector/static/description/assets/screenshots/new_zendesk_05.png new file mode 100644 index 000000000..ccf4c7d9e Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/screenshots/new_zendesk_05.png differ diff --git a/odoo_zendesk_connector/static/description/assets/screenshots/new_zendesk_06.png b/odoo_zendesk_connector/static/description/assets/screenshots/new_zendesk_06.png new file mode 100644 index 000000000..16422ea64 Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/screenshots/new_zendesk_06.png differ diff --git a/odoo_zendesk_connector/static/description/assets/screenshots/new_zendesk_07.png b/odoo_zendesk_connector/static/description/assets/screenshots/new_zendesk_07.png new file mode 100644 index 000000000..dfb1c3047 Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/screenshots/new_zendesk_07.png differ diff --git a/odoo_zendesk_connector/static/description/assets/screenshots/new_zendesk_08.png b/odoo_zendesk_connector/static/description/assets/screenshots/new_zendesk_08.png new file mode 100644 index 000000000..7e189fc25 Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/screenshots/new_zendesk_08.png differ diff --git a/odoo_zendesk_connector/static/description/assets/screenshots/new_zendesk_09.png b/odoo_zendesk_connector/static/description/assets/screenshots/new_zendesk_09.png new file mode 100644 index 000000000..f4de96890 Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/screenshots/new_zendesk_09.png differ diff --git a/odoo_zendesk_connector/static/description/assets/screenshots/new_zendesk_10.png b/odoo_zendesk_connector/static/description/assets/screenshots/new_zendesk_10.png new file mode 100644 index 000000000..6ba68d6b4 Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/screenshots/new_zendesk_10.png differ diff --git a/odoo_zendesk_connector/static/description/assets/screenshots/new_zendesk_11.png b/odoo_zendesk_connector/static/description/assets/screenshots/new_zendesk_11.png new file mode 100644 index 000000000..a2bf8a969 Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/screenshots/new_zendesk_11.png differ diff --git a/odoo_zendesk_connector/static/description/assets/screenshots/new_zendesk_12.png b/odoo_zendesk_connector/static/description/assets/screenshots/new_zendesk_12.png new file mode 100644 index 000000000..f2ebf9e8b Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/screenshots/new_zendesk_12.png differ diff --git a/odoo_zendesk_connector/static/description/assets/screenshots/new_zendesk_13.png b/odoo_zendesk_connector/static/description/assets/screenshots/new_zendesk_13.png new file mode 100644 index 000000000..40ceed1f0 Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/screenshots/new_zendesk_13.png differ diff --git a/odoo_zendesk_connector/static/description/assets/screenshots/oz0010.png b/odoo_zendesk_connector/static/description/assets/screenshots/oz0010.png new file mode 100644 index 000000000..06096b7eb Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/screenshots/oz0010.png differ diff --git a/odoo_zendesk_connector/static/description/assets/screenshots/oz0012.png b/odoo_zendesk_connector/static/description/assets/screenshots/oz0012.png new file mode 100644 index 000000000..a15812f29 Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/screenshots/oz0012.png differ diff --git a/odoo_zendesk_connector/static/description/assets/screenshots/oz0014.png b/odoo_zendesk_connector/static/description/assets/screenshots/oz0014.png new file mode 100644 index 000000000..6ee3f5dc0 Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/screenshots/oz0014.png differ diff --git a/odoo_zendesk_connector/static/description/assets/screenshots/oz0015.png b/odoo_zendesk_connector/static/description/assets/screenshots/oz0015.png new file mode 100644 index 000000000..0eb15ef27 Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/screenshots/oz0015.png differ diff --git a/odoo_zendesk_connector/static/description/assets/screenshots/oz0018.png b/odoo_zendesk_connector/static/description/assets/screenshots/oz0018.png new file mode 100644 index 000000000..5b8fed1c7 Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/screenshots/oz0018.png differ diff --git a/odoo_zendesk_connector/static/description/assets/screenshots/oz0019.png b/odoo_zendesk_connector/static/description/assets/screenshots/oz0019.png new file mode 100644 index 000000000..57f05affb Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/screenshots/oz0019.png differ diff --git a/odoo_zendesk_connector/static/description/assets/screenshots/oz007.png b/odoo_zendesk_connector/static/description/assets/screenshots/oz007.png new file mode 100644 index 000000000..b145ed947 Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/screenshots/oz007.png differ diff --git a/odoo_zendesk_connector/static/description/assets/screenshots/oz009.png b/odoo_zendesk_connector/static/description/assets/screenshots/oz009.png new file mode 100644 index 000000000..4a4c5edbf Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/screenshots/oz009.png differ diff --git a/odoo_zendesk_connector/static/description/assets/screenshots/oz1.png b/odoo_zendesk_connector/static/description/assets/screenshots/oz1.png new file mode 100644 index 000000000..cd374c55c Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/screenshots/oz1.png differ diff --git a/odoo_zendesk_connector/static/description/assets/screenshots/oz11.png b/odoo_zendesk_connector/static/description/assets/screenshots/oz11.png new file mode 100644 index 000000000..97f659b5b Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/screenshots/oz11.png differ diff --git a/odoo_zendesk_connector/static/description/assets/screenshots/oz13.png b/odoo_zendesk_connector/static/description/assets/screenshots/oz13.png new file mode 100644 index 000000000..ef16031b3 Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/screenshots/oz13.png differ diff --git a/odoo_zendesk_connector/static/description/assets/screenshots/oz16.png b/odoo_zendesk_connector/static/description/assets/screenshots/oz16.png new file mode 100644 index 000000000..96b962079 Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/screenshots/oz16.png differ diff --git a/odoo_zendesk_connector/static/description/assets/screenshots/oz17.png b/odoo_zendesk_connector/static/description/assets/screenshots/oz17.png new file mode 100644 index 000000000..09cefb61c Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/screenshots/oz17.png differ diff --git a/odoo_zendesk_connector/static/description/assets/screenshots/oz2.png b/odoo_zendesk_connector/static/description/assets/screenshots/oz2.png new file mode 100644 index 000000000..7ba6c2d25 Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/screenshots/oz2.png differ diff --git a/odoo_zendesk_connector/static/description/assets/screenshots/oz3.png b/odoo_zendesk_connector/static/description/assets/screenshots/oz3.png new file mode 100644 index 000000000..5af5fcaea Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/screenshots/oz3.png differ diff --git a/odoo_zendesk_connector/static/description/assets/screenshots/oz4.png b/odoo_zendesk_connector/static/description/assets/screenshots/oz4.png new file mode 100644 index 000000000..53f5d2d79 Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/screenshots/oz4.png differ diff --git a/odoo_zendesk_connector/static/description/assets/screenshots/oz5.png b/odoo_zendesk_connector/static/description/assets/screenshots/oz5.png new file mode 100644 index 000000000..a3480a578 Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/screenshots/oz5.png differ diff --git a/odoo_zendesk_connector/static/description/assets/screenshots/oz8.png b/odoo_zendesk_connector/static/description/assets/screenshots/oz8.png new file mode 100644 index 000000000..c32912f91 Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/screenshots/oz8.png differ diff --git a/odoo_zendesk_connector/static/description/assets/screenshots/zendesk_auth.png b/odoo_zendesk_connector/static/description/assets/screenshots/zendesk_auth.png new file mode 100644 index 000000000..fdba1282c Binary files /dev/null and b/odoo_zendesk_connector/static/description/assets/screenshots/zendesk_auth.png differ diff --git a/odoo_zendesk_connector/static/description/banner.jpg b/odoo_zendesk_connector/static/description/banner.jpg new file mode 100644 index 000000000..fe92312f7 Binary files /dev/null and b/odoo_zendesk_connector/static/description/banner.jpg differ diff --git a/odoo_zendesk_connector/static/description/icon.png b/odoo_zendesk_connector/static/description/icon.png new file mode 100644 index 000000000..cca667064 Binary files /dev/null and b/odoo_zendesk_connector/static/description/icon.png differ diff --git a/odoo_zendesk_connector/static/description/index.html b/odoo_zendesk_connector/static/description/index.html new file mode 100644 index 000000000..643f71812 --- /dev/null +++ b/odoo_zendesk_connector/static/description/index.html @@ -0,0 +1,632 @@ +
+ +
+ +
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+ +
+
+
+ +

+ Odoo Zendesk Connector

+

Connect the Odoo with Zendesk

+ + +
+
+
+
+ + +
+
+ +
+

Explore This + Module

+
+ + + + +
+
+ +
+

Overview +

+
+
+
+ The module 'Odoo Zendesk Connector' is used to connect the Odoo with + Zendesk.By Using this, we are able to both Import/Export many tickets + between Odoo and Zendesk, moreover that, it is possible to create, + update, and delete the of Zendesk from Odoo +
+
+ + + +
+
+ +
+

Features +

+
+
+
+
+ + One click API integration. +
+
+ + Can easily Create a ticket to Zendesk +
+
+ + It is possible to update and delete a zendesk + ticket +
+
+ + Synchronized the stages and priorities of a ticket +
+
+ + Synchronized the contacts +
+
+
+ + + +
+
+ +
+

Screenshots +

+
+
+
+ +
+

Create an account in Zendesk

+ https://www.zendesk.com/in/login/ + +
+ +
+

From your account go to Admin Center

+ +
+ +
+

From Admin Center go to Apps and integrations and select + Zendesk API +

+ +
+
+

From Zendesk API activate password access and Token access

+ +
+
+

Company domain

+ +
+

Give the credentials and enable connection

+ +
+

Create a zendesk ticket by clicking the button

+ +
+

Can see the ticket in Zendesk

+ +
+

After creating the ticket in Zendesk we can see the + Id of that ticket corresponding in the Zendesk

+ +
+

Can update a ticket, simply by clicking UPDATE button

+ +
+

Can see the Updated ticket in the Zendesk

+ +
+

By clicking on the button 'Delete From Zendesk' can easily delete + that ticket from the Zendesk

+ +
+

Can see that ticket is deleted

+ +
+

To import/export tickets, click on the menu 'Import/Export Tickets'

+ +
+

Can see a wizard will open and in that you can provide two dates, + between in which we want to import/export tickets

+ +
+

Can see the exported two tickets

+ +
+

To import the tickets

+ +
+

Can see all the imported tickets

+ +
+
+
+ + + +
+
+ +
+

+ Related + Products +

+
+
+
+ +
+
+ + + + +
+
+ +
+

Our Services +

+
+ +
+
+
+
+ +
+
+ Odoo + Customization
+
+ +
+
+ +
+
+ Odoo + Implementation
+
+ +
+
+ +
+
+ Odoo + Support
+
+ + +
+
+ +
+
+ Hire + Odoo + Developer
+
+ +
+
+ +
+
+ Odoo + Integration
+
+ +
+
+ +
+
+ Odoo + Migration
+
+ + +
+
+ +
+
+ Odoo + Consultancy
+
+ +
+
+ +
+
+ Odoo + Implementation
+
+ +
+
+ +
+
+ Odoo + Licensing Consultancy
+
+
+ +
+ + + + + +
+
+ +
+

Our + Industries +

+
+ +
+
+
+
+ +
+ Trading +
+

+ Easily procure + and + sell your products

+
+
+ +
+
+ +
+ POS +
+

+ Easy + configuration + and convivial experience

+
+
+ +
+
+ +
+ Education +
+

+ A platform for + educational management

+
+
+ +
+
+ +
+ Manufacturing +
+

+ Plan, track and + schedule your operations

+
+
+ +
+
+ +
+ E-commerce & Website +
+

+ Mobile + friendly, + awe-inspiring product pages

+
+
+ +
+
+ +
+ Service Management +
+

+ Keep track of + services and invoice

+
+
+ +
+
+ +
+ Restaurant +
+

+ Run your bar or + restaurant methodically

+
+
+ +
+
+ +
+ Hotel Management +
+

+ An + all-inclusive + hotel management application

+
+
+
+
+ + + + +
+
+ +
+

Support +

+
+
+
+
+
+
+ +
+
+

Need Help?

+

Got questions or need help? Get in touch.

+ +

+ odoo@cybrosys.com

+
+
+
+
+
+
+
+ +
+
+

WhatsApp

+

Say hi to us on WhatsApp!

+ +

+91 86068 + 27707

+
+
+
+
+
+
+
+ +
+
+
+ \ No newline at end of file diff --git a/odoo_zendesk_connector/views/help_ticket_views.xml b/odoo_zendesk_connector/views/help_ticket_views.xml new file mode 100644 index 000000000..323ff8409 --- /dev/null +++ b/odoo_zendesk_connector/views/help_ticket_views.xml @@ -0,0 +1,26 @@ + + + + + help.ticket.view.form.inherit.odoo.zendesk.connector + help.ticket + + + + 1 + + + + + + +