diff --git a/odoo_website_helpdesk/README.rst b/odoo_website_helpdesk/README.rst new file mode 100644 index 000000000..8eec6d754 --- /dev/null +++ b/odoo_website_helpdesk/README.rst @@ -0,0 +1,42 @@ +Website Helpdesk Support Ticket Management +========================================= +* HelpDesk Support for Odoo 16 community editions + +Installation +============ + - www.odoo.com/documentation/16.0/setup/install.html + - Install our custom addon + +License +------- +General Public License, Version 3 (LGPL v3). +(https://www.odoo.com/documentation/user/15.0/legal/licenses/licenses.html) + +Company +------- +* 'Cybrosys Techno Solutions `__ + +Credits +------- +* Developer: +(v16) Robin @ Cybrosys + + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com + +Bug Tracker +----------- +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Maintainer +========== +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_website_helpdesk/__init__.py b/odoo_website_helpdesk/__init__.py new file mode 100644 index 000000000..95e0594ff --- /dev/null +++ b/odoo_website_helpdesk/__init__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-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 controller +from . import models diff --git a/odoo_website_helpdesk/__manifest__.py b/odoo_website_helpdesk/__manifest__.py new file mode 100644 index 000000000..65bfa18a0 --- /dev/null +++ b/odoo_website_helpdesk/__manifest__.py @@ -0,0 +1,57 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-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': "Website Helpdesk Support Ticket Management V16", + 'version': '16.0.1.0.0', + 'summary': """Website Helpdesk Support Ticket Management for V16 Community""", + 'description': """Website Helpdesk Support Ticket Management for V16 Community, Helpdesk, helpdesk, support, ticket""", + 'author': "Cybrosys Techno Solutions", + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'category': 'Website', + 'depends': ['website', 'project', 'sale_project', 'hr_timesheet'], + 'data': [ + 'security/ir.model.access.csv', + 'views/helpdesk.xml', + 'views/team.xml', + 'views/res_config_settings.xml', + 'views/website_form.xml', + 'views/report.xml', + 'views/helpdesk.xml', + 'views/helpdesk_views.xml', + 'views/portal.xml', + + 'data/ticket_sequence.xml', + 'data/ticket_stage_data.xml', + ], + 'assets': { + 'web.assets_frontend': [ + 'odoo_website_helpdesk/static/src/js/ticket_details.js', + ], + }, + 'images': ['static/description/banner.png'], + 'license': 'LGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/odoo_website_helpdesk/controller/__init__.py b/odoo_website_helpdesk/controller/__init__.py new file mode 100644 index 000000000..ac0e8d865 --- /dev/null +++ b/odoo_website_helpdesk/controller/__init__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-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 website_form +from . import portal diff --git a/odoo_website_helpdesk/controller/portal.py b/odoo_website_helpdesk/controller/portal.py new file mode 100644 index 000000000..b80c78089 --- /dev/null +++ b/odoo_website_helpdesk/controller/portal.py @@ -0,0 +1,62 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-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 odoo import http +from odoo.addons.portal.controllers import portal +from odoo.http import request + + +class TicketPortal(portal.CustomerPortal): + + def _prepare_home_portal_values(self, counters): + values = super()._prepare_home_portal_values(counters) + if 'ticket_count' in counters: + ticket_count = request.env['help.ticket'].search_count( + self._get_tickets_domain()) if request.env[ + 'help.ticket'].check_access_rights( + 'read', raise_exception=False) else 0 + values['ticket_count'] = ticket_count + return values + + # checking domain: + def _get_tickets_domain(self): + return [('customer_id', '=', request.env.user.partner_id.id)] + + @http.route(['/my/tickets'], type='http', auth="user", website=True) + def portal_my_tickets(self): + domain = self._get_tickets_domain() + tickets = request.env['help.ticket'].search(domain) + values = { + 'default_url': "/my/tickets", + 'tickets': tickets, + 'page_name': 'ticket', + } + return request.render("odoo_website_helpdesk.portal_my_tickets", + values) + + +class WebsiteDesk(http.Controller): + + @http.route(['/helpdesk_ticket'], type='http', auth="public", website=True, + sitemap=True) + def helpdesk_ticket(self, **kwargs): + return request.render('odoo_website_helpdesk.ticket_form') diff --git a/odoo_website_helpdesk/controller/website_form.py b/odoo_website_helpdesk/controller/website_form.py new file mode 100644 index 000000000..7337a0803 --- /dev/null +++ b/odoo_website_helpdesk/controller/website_form.py @@ -0,0 +1,113 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-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 base64 +import json + +from psycopg2 import IntegrityError + +from odoo import _ +from odoo.addons.website.controllers.form import WebsiteForm +from odoo.exceptions import ValidationError +from odoo.http import request + + +class WebsiteFormInherit(WebsiteForm): + + def _handle_website_form(self, model_name, **kwargs): + if model_name == 'help.ticket': + + rec_val = { + 'customer_name': kwargs.get('customer_name'), + 'subject': kwargs.get('subject'), + 'description': kwargs.get('description'), + 'email': kwargs.get('email_from'), + 'phone': kwargs.get('phone'), + 'priority': kwargs.get('priority'), + 'stage_id': request.env['ticket.stage'].search( + [('name', '=', 'Inbox')], limit=1).id, + + } + partner = request.env['res.partner'].sudo().search( + [('name', '=', kwargs.get('customer_name')), + ('email', '=', kwargs.get('email_from'))], limit=1) + if partner: + rec_val['customer_id'] = partner.id + else: + rec_val['public_ticket'] = True + + ticket_id = request.env['help.ticket'].sudo().create(rec_val) + request.session['ticket_number'] = ticket_id.name + request.session['ticket_id'] = ticket_id.id + model_record = request.env['ir.model'].sudo().search( + [('model', '=', model_name)]) + data = self.extract_data(model_record, request.params) + if 'ticket_attachment' in request.params or request.httprequest.files or data.get( + 'attachments'): + attached_files = data.get('attachments') + for attachment in attached_files: + attached_file = attachment.read() + request.env['ir.attachment'].sudo().create({ + 'name': attachment.filename, + 'res_model': 'help.ticket', + 'res_id': ticket_id.id, + 'type': 'binary', + 'datas': base64.encodebytes(attached_file), + }) + request.session['form_builder_model_model'] = model_record.model + request.session['form_builder_model'] = model_record.name + request.session['form_builder_id'] = ticket_id.id + return json.dumps({'id': ticket_id.id}) + else: + model_record = request.env['ir.model'].sudo().search( + [('model', '=', model_name)]) + if not model_record: + return json.dumps({ + 'error': _("The form's specified model does not exist") + }) + try: + data = self.extract_data(model_record, request.params) + # If we encounter an issue while extracting data + except ValidationError as e: + return json.dumps({'error_fields': e.args[0]}) + try: + id_record = self.insert_record(request, model_record, + data['record'], data['custom'], + data.get('meta')) + if id_record: + self.insert_attachment(model_record, id_record, + data['attachments']) + # in case of an email, we want to send it immediately instead of waiting + # for the email queue to process + if model_name == 'mail.mail': + request.env[model_name].sudo().browse(id_record).send() + + # Some fields have additional SQL constraints that we can't check generically + # Ex: crm.lead.probability which is a float between 0 and 1 + # TODO: How to get the name of the erroneous field ? + except IntegrityError: + return json.dumps(False) + + request.session['form_builder_model_model'] = model_record.model + request.session['form_builder_model'] = model_record.name + request.session['form_builder_id'] = id_record + + return json.dumps({'id': id_record}) diff --git a/odoo_website_helpdesk/data/ticket_sequence.xml b/odoo_website_helpdesk/data/ticket_sequence.xml new file mode 100644 index 000000000..936fb958a --- /dev/null +++ b/odoo_website_helpdesk/data/ticket_sequence.xml @@ -0,0 +1,20 @@ + + + Helpdesk + help.ticket + TKT + 5 + + + + + + Helpdesk Invoice + ticket.invoice + INV/TKT/%(year)s/ + 3 + + + + + diff --git a/odoo_website_helpdesk/data/ticket_stage_data.xml b/odoo_website_helpdesk/data/ticket_stage_data.xml new file mode 100644 index 000000000..8b2e35aff --- /dev/null +++ b/odoo_website_helpdesk/data/ticket_stage_data.xml @@ -0,0 +1,30 @@ + + + + + 10 + Inbox + + + + 15 + Draft + + + + 20 + In Progress + + + + 25 + Done + + + + + 30 + Canceled + + + diff --git a/odoo_website_helpdesk/doc/RELEASE_NOTES.md b/odoo_website_helpdesk/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..4966fc975 --- /dev/null +++ b/odoo_website_helpdesk/doc/RELEASE_NOTES.md @@ -0,0 +1,9 @@ +## Module + +#### 09.11.2022 +#### Version 16.0.1.0.0 +#### ADD +- Initial commit for Website Helpdesk Support Ticket + + + diff --git a/odoo_website_helpdesk/models/__init__.py b/odoo_website_helpdesk/models/__init__.py new file mode 100644 index 000000000..14c5f94ac --- /dev/null +++ b/odoo_website_helpdesk/models/__init__.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-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 helpdesk +from . import task +from . import res_config diff --git a/odoo_website_helpdesk/models/helpdesk.py b/odoo_website_helpdesk/models/helpdesk.py new file mode 100644 index 000000000..f20c6d9a2 --- /dev/null +++ b/odoo_website_helpdesk/models/helpdesk.py @@ -0,0 +1,226 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-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 logging +from odoo import models, fields, api, _ +from odoo.exceptions import UserError + +_logger = logging.getLogger(__name__) + +PRIORITIES = [ + ('0', 'Very Low'), + ('1', 'Low'), + ('2', 'Normal'), + ('3', 'High'), + ('4', 'Very High')] + + +class HelpDeskTicket(models.Model): + _name = 'help.ticket' + _description = 'Helpdesk Ticket' + _inherit = ['mail.thread', 'mail.activity.mixin'] + + name = fields.Char('Name', default=lambda self: self.env['ir.sequence']. + next_by_code('help.ticket') or _('New')) + customer_id = fields.Many2one('res.partner', string='customer') + customer_name = fields.Char('Customer Name') + subject = fields.Text('Subject', required=True) + description = fields.Text('Description', required=True) + email = fields.Char('Email') + phone = fields.Char('Phone') + team_id = fields.Many2one('help.team', string='Helpdesk Team') + product_id = fields.Many2one('product.product', string='Product') + project_id = fields.Many2one('project.project', string='Project', + readonly=False, + related='team_id.project_id', store=True) + + priority = fields.Selection(PRIORITIES, default='1') + stage_id = fields.Many2one('ticket.stage', string='Stage', + default=lambda self: self.env[ + 'ticket.stage'].search( + [('name', '=', 'Draft')], limit=1).id, + tracking=True, + group_expand='_read_group_stage_ids') + + cost = fields.Float('Cost per hour') + service_product_id = fields.Many2one('product.product', + string='Service Product', + domain=[ + ('detailed_type', '=', 'service')]) + start_date = fields.Date('Start Date') + end_date = fields.Date('End Date') + public_ticket = fields.Boolean(string="Public Ticket") + invoice_ids = fields.Many2many('account.move', string='Invoices') + task_ids = fields.Many2many('project.task', string='Tasks') + color = fields.Integer(string="Color", default=6) + + def _default_show_create_task(self): + return self.env['ir.config_parameter'].sudo().get_param( + 'odoo_website_helpdesk.show_create_task') + + show_create_task = fields.Boolean(string="Create Task", + default=_default_show_create_task, + compute='_compute_show_create_task') + create_task = fields.Boolean(string="Create Task", readonly=False, + related='team_id.create_task', store=True) + billable = fields.Boolean(string="Billable", default=False) + + def _compute_show_create_task(self): + show_create_task = self._default_show_create_task() + for record in self: + record.show_create_task = show_create_task + + def default_stage_id(self): + # Search your stage + return self.env['ticket.stage'].search( + [('name', '=', 'Draft')], limit=1).id + + @api.model + def _read_group_stage_ids(self, stages, domain, order): + """ + return the stages to stage_ids + """ + stage_ids = self.env['ticket.stage'].search([]) + return stage_ids + + @api.model_create_multi + def create(self, vals_list): + + return super(HelpDeskTicket, self).create(vals_list) + + def write(self, vals): + result = super(HelpDeskTicket, self).write(vals) + return result + + def create_invoice(self): + tasks = self.env['project.task'].search( + [('project_id', '=', self.project_id.id), + ('ticket_id', '=', self.id)]).filtered( + lambda line: line.ticket_billed == False) + if not tasks: + raise UserError('No Tasks to Bill') + + total = sum(x.effective_hours for x in tasks if x.effective_hours > 0) + + invoice_no = self.env['ir.sequence'].next_by_code( + 'ticket.invoice') + move = self.env['account.move'].create([ + { + 'name': invoice_no, + 'move_type': 'out_invoice', + 'partner_id': self.customer_id.id, + 'ticket_id': self.id, + 'date': fields.Date.today(), + 'invoice_date': fields.Date.today(), + 'invoice_line_ids': [(0, 0, + {'product_id': self.service_product_id.id, + 'name': self.service_product_id.name, + 'quantity': total, + 'product_uom_id': self.service_product_id.uom_id.id, + 'price_unit': self.cost, + 'account_id': self.service_product_id.categ_id.property_account_income_categ_id.id, + })], + }, ]) + for task in tasks: + task.ticket_billed = True + return { + 'effect': { + 'fadeout': 'medium', + 'message': 'Billed Successfully!', + 'type': 'rainbow_man', + } + # 'view_type': 'form', + # 'res_model': 'account.move', + # 'res_id': move.id, + # 'view_id': False, + # 'view_mode': 'form', + # 'type': 'ir.actions.act_window', + } + + def create_tasks(self): + task_id = self.env['project.task'].create({ + 'name': self.name + '-' + self.subject, + 'project_id': self.project_id.id, + 'company_id': self.env.company.id, + 'ticket_id': self.id, + }) + self.write({ + 'task_ids': [(4, task_id.id)] + }) + + return { + 'name': 'Tasks', + 'res_model': 'project.task', + 'view_id': False, + 'res_id': task_id.id, + 'view_mode': 'form', + 'type': 'ir.actions.act_window', + 'target': 'new', + } + + def open_tasks(self): + return { + 'name': 'Tasks', + 'domain': [('ticket_id', '=', self.id)], + 'res_model': 'project.task', + 'view_id': False, + 'view_mode': 'tree,form', + 'type': 'ir.actions.act_window', + } + + def open_invoices(self): + return { + 'name': 'Invoice', + 'domain': [('ticket_id', '=', self.id)], + 'res_model': 'account.move', + 'view_id': False, + 'view_mode': 'tree,form', + 'type': 'ir.actions.act_window', + } + + +class StageTicket(models.Model): + _name = 'ticket.stage' + _description = 'Ticket Stage' + _order = 'sequence, id' + + name = fields.Char('Name') + active = fields.Boolean(default=True) + sequence = fields.Integer(default=50) + closing_stage = fields.Boolean('Closing Stage', default=False) + folded = fields.Boolean('Folded in Kanban', default=False) + + +class Tasks(models.Model): + _inherit = 'project.task' + + ticket_billed = fields.Boolean('Billed', default=False) + + +class HelpDeskTeam(models.Model): + _name = 'help.team' + _description = 'Helpdesk Team' + + name = fields.Char('Name') + member_ids = fields.Many2many('res.users', string='Members') + email = fields.Char('Email') + project_id = fields.Many2one('project.project', string='Project') + create_task = fields.Boolean(string="Create Task") diff --git a/odoo_website_helpdesk/models/res_config.py b/odoo_website_helpdesk/models/res_config.py new file mode 100644 index 000000000..fba104929 --- /dev/null +++ b/odoo_website_helpdesk/models/res_config.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-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 odoo import models, fields + + +class Helpdesk(models.TransientModel): + _inherit = 'res.config.settings' + + show_create_task = fields.Boolean( + string="Create Tasks", + config_parameter='odoo_website_helpdesk.show_create_task') diff --git a/odoo_website_helpdesk/models/task.py b/odoo_website_helpdesk/models/task.py new file mode 100644 index 000000000..9f46e295e --- /dev/null +++ b/odoo_website_helpdesk/models/task.py @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-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 odoo import models, fields + + +class Task(models.Model): + _inherit = 'project.task' + + ticket_id = fields.Many2one('help.ticket', string='Ticket') + + +class AccountMove(models.Model): + _inherit = 'account.move' + + ticket_id = fields.Many2one('help.ticket', string='Ticket') diff --git a/odoo_website_helpdesk/security/ir.model.access.csv b/odoo_website_helpdesk/security/ir.model.access.csv new file mode 100644 index 000000000..ada4d7b36 --- /dev/null +++ b/odoo_website_helpdesk/security/ir.model.access.csv @@ -0,0 +1,4 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_help_ticket,access.help.ticket,model_help_ticket,,1,1,1,1 +access_help_ticket_teams,access.help.team,model_help_team,,1,1,1,1 +access_help_ticket_stage,access.ticket.stage,model_ticket_stage,,1,1,1,1 diff --git a/odoo_website_helpdesk/static/description/assets/icons/check.png b/odoo_website_helpdesk/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/icons/check.png differ diff --git a/odoo_website_helpdesk/static/description/assets/icons/chevron.png b/odoo_website_helpdesk/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/icons/chevron.png differ diff --git a/odoo_website_helpdesk/static/description/assets/icons/cogs.png b/odoo_website_helpdesk/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/icons/cogs.png differ diff --git a/odoo_website_helpdesk/static/description/assets/icons/consultation.png b/odoo_website_helpdesk/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/icons/consultation.png differ diff --git a/odoo_website_helpdesk/static/description/assets/icons/ecom-black.png b/odoo_website_helpdesk/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/icons/ecom-black.png differ diff --git a/odoo_website_helpdesk/static/description/assets/icons/education-black.png b/odoo_website_helpdesk/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/icons/education-black.png differ diff --git a/odoo_website_helpdesk/static/description/assets/icons/hotel-black.png b/odoo_website_helpdesk/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/icons/hotel-black.png differ diff --git a/odoo_website_helpdesk/static/description/assets/icons/license.png b/odoo_website_helpdesk/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/icons/license.png differ diff --git a/odoo_website_helpdesk/static/description/assets/icons/lifebuoy.png b/odoo_website_helpdesk/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/icons/lifebuoy.png differ diff --git a/odoo_website_helpdesk/static/description/assets/icons/logo.png b/odoo_website_helpdesk/static/description/assets/icons/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/icons/logo.png differ diff --git a/odoo_website_helpdesk/static/description/assets/icons/manufacturing-black.png b/odoo_website_helpdesk/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/icons/manufacturing-black.png differ diff --git a/odoo_website_helpdesk/static/description/assets/icons/pos-black.png b/odoo_website_helpdesk/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/icons/pos-black.png differ diff --git a/odoo_website_helpdesk/static/description/assets/icons/puzzle.png b/odoo_website_helpdesk/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/icons/puzzle.png differ diff --git a/odoo_website_helpdesk/static/description/assets/icons/restaurant-black.png b/odoo_website_helpdesk/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/icons/restaurant-black.png differ diff --git a/odoo_website_helpdesk/static/description/assets/icons/service-black.png b/odoo_website_helpdesk/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/icons/service-black.png differ diff --git a/odoo_website_helpdesk/static/description/assets/icons/trading-black.png b/odoo_website_helpdesk/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/icons/trading-black.png differ diff --git a/odoo_website_helpdesk/static/description/assets/icons/training.png b/odoo_website_helpdesk/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/icons/training.png differ diff --git a/odoo_website_helpdesk/static/description/assets/icons/update.png b/odoo_website_helpdesk/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/icons/update.png differ diff --git a/odoo_website_helpdesk/static/description/assets/icons/user.png b/odoo_website_helpdesk/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/icons/user.png differ diff --git a/odoo_website_helpdesk/static/description/assets/icons/wrench.png b/odoo_website_helpdesk/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/icons/wrench.png differ diff --git a/odoo_website_helpdesk/static/description/assets/misc/categories.png b/odoo_website_helpdesk/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/misc/categories.png differ diff --git a/odoo_website_helpdesk/static/description/assets/misc/check-box.png b/odoo_website_helpdesk/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/misc/check-box.png differ diff --git a/odoo_website_helpdesk/static/description/assets/misc/compass.png b/odoo_website_helpdesk/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/misc/compass.png differ diff --git a/odoo_website_helpdesk/static/description/assets/misc/corporate.png b/odoo_website_helpdesk/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/misc/corporate.png differ diff --git a/odoo_website_helpdesk/static/description/assets/misc/customer-support.png b/odoo_website_helpdesk/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/misc/customer-support.png differ diff --git a/odoo_website_helpdesk/static/description/assets/misc/cybrosys-logo.png b/odoo_website_helpdesk/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/misc/cybrosys-logo.png differ diff --git a/odoo_website_helpdesk/static/description/assets/misc/features.png b/odoo_website_helpdesk/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/misc/features.png differ diff --git a/odoo_website_helpdesk/static/description/assets/misc/logo.png b/odoo_website_helpdesk/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/misc/logo.png differ diff --git a/odoo_website_helpdesk/static/description/assets/misc/pictures.png b/odoo_website_helpdesk/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/misc/pictures.png differ diff --git a/odoo_website_helpdesk/static/description/assets/misc/pie-chart.png b/odoo_website_helpdesk/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/misc/pie-chart.png differ diff --git a/odoo_website_helpdesk/static/description/assets/misc/right-arrow.png b/odoo_website_helpdesk/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/misc/right-arrow.png differ diff --git a/odoo_website_helpdesk/static/description/assets/misc/star.png b/odoo_website_helpdesk/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/misc/star.png differ diff --git a/odoo_website_helpdesk/static/description/assets/misc/support.png b/odoo_website_helpdesk/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/misc/support.png differ diff --git a/odoo_website_helpdesk/static/description/assets/misc/whatsapp.png b/odoo_website_helpdesk/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/misc/whatsapp.png differ diff --git a/odoo_website_helpdesk/static/description/assets/modules/budget_image.png b/odoo_website_helpdesk/static/description/assets/modules/budget_image.png new file mode 100644 index 000000000..b50130c7d Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/modules/budget_image.png differ diff --git a/odoo_website_helpdesk/static/description/assets/modules/credit_image.png b/odoo_website_helpdesk/static/description/assets/modules/credit_image.png new file mode 100644 index 000000000..3ad04ecfd Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/modules/credit_image.png differ diff --git a/odoo_website_helpdesk/static/description/assets/modules/employee_image.png b/odoo_website_helpdesk/static/description/assets/modules/employee_image.png new file mode 100644 index 000000000..30ad58232 Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/modules/employee_image.png differ diff --git a/odoo_website_helpdesk/static/description/assets/modules/export_image.png b/odoo_website_helpdesk/static/description/assets/modules/export_image.png new file mode 100644 index 000000000..492980ad0 Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/modules/export_image.png differ diff --git a/odoo_website_helpdesk/static/description/assets/modules/gantt_image.png b/odoo_website_helpdesk/static/description/assets/modules/gantt_image.png new file mode 100644 index 000000000..1ae7cfe3b Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/modules/gantt_image.png differ diff --git a/odoo_website_helpdesk/static/description/assets/modules/quotation_image.png b/odoo_website_helpdesk/static/description/assets/modules/quotation_image.png new file mode 100644 index 000000000..499b1a72f Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/modules/quotation_image.png differ diff --git a/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot1.png b/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot1.png new file mode 100644 index 000000000..7ac48fe4a Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot1.png differ diff --git a/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot10.png b/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot10.png new file mode 100644 index 000000000..670aa7f3d Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot10.png differ diff --git a/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot11.png b/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot11.png new file mode 100644 index 000000000..cdbf5dcf7 Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot11.png differ diff --git a/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot12.png b/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot12.png new file mode 100644 index 000000000..1a4b887a5 Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot12.png differ diff --git a/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot13.png b/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot13.png new file mode 100644 index 000000000..87b7a1b4b Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot13.png differ diff --git a/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot14.png b/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot14.png new file mode 100644 index 000000000..1448d4634 Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot14.png differ diff --git a/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot15.png b/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot15.png new file mode 100644 index 000000000..dc5e272ad Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot15.png differ diff --git a/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot16.png b/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot16.png new file mode 100644 index 000000000..87994ab36 Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot16.png differ diff --git a/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot2.png b/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot2.png new file mode 100644 index 000000000..9e7c1aa68 Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot2.png differ diff --git a/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot3.png b/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot3.png new file mode 100644 index 000000000..9265aadd5 Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot3.png differ diff --git a/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot4.png b/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot4.png new file mode 100644 index 000000000..3c900491e Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot4.png differ diff --git a/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot5.png b/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot5.png new file mode 100644 index 000000000..69c0f8f89 Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot5.png differ diff --git a/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot6.png b/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot6.png new file mode 100644 index 000000000..b8404a61b Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot6.png differ diff --git a/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot7.png b/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot7.png new file mode 100644 index 000000000..027e25950 Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot7.png differ diff --git a/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot8.png b/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot8.png new file mode 100644 index 000000000..e604a6f22 Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot8.png differ diff --git a/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot9.png b/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot9.png new file mode 100644 index 000000000..09c26b4c5 Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/screenshots/Screenshot9.png differ diff --git a/odoo_website_helpdesk/static/description/assets/screenshots/hero.gif b/odoo_website_helpdesk/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..5afed344c Binary files /dev/null and b/odoo_website_helpdesk/static/description/assets/screenshots/hero.gif differ diff --git a/odoo_website_helpdesk/static/description/banner.png b/odoo_website_helpdesk/static/description/banner.png new file mode 100644 index 000000000..e90228872 Binary files /dev/null and b/odoo_website_helpdesk/static/description/banner.png differ diff --git a/odoo_website_helpdesk/static/description/icon.png b/odoo_website_helpdesk/static/description/icon.png new file mode 100644 index 000000000..a58b3d431 Binary files /dev/null and b/odoo_website_helpdesk/static/description/icon.png differ diff --git a/odoo_website_helpdesk/static/description/index.html b/odoo_website_helpdesk/static/description/index.html new file mode 100644 index 000000000..95d2f7ee7 --- /dev/null +++ b/odoo_website_helpdesk/static/description/index.html @@ -0,0 +1,751 @@ +
+ +
+ +
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+ + + +

+ Website Helpdesk Support Ticket Management +

+

+ + A Module For Managing Support Tickets +

+ + + +
+ + +
+
+ +
+

+ Explore This + Module

+
+ + + + +
+
+ +
+

+ Overview +

+
+
+
+ In the Helpdesk Support App, one can Create Ticket trough website portal and can view their tickets.

+ The Internal user can assign th ticket to any team and link to any project if needed and can invoice based on the + timesheet +
+
+ + + +
+
+ +
+

+ Features +

+
+
+
+
+ +
+ + Website Ticket Creation + +
+
+
+ +
+ + View created tickets from portal + +
+
+
+ +
+ +Create Tasks for the project linked to the Ticket +
+
+
+ +
+ + Link a project to the Ticket and invoice based on the tasks timesheet + +
+
+
+ +
+ + Tickets can be viewed and managed from backend + +
+
+
+ +
+ + Customise stages or use predefined stages for seeing the status of ticket + +
+
+ +
+
+ + + +
+
+ +
+

+ Screenshots +

+
+
+
+ +
+

+ Create Tickets From website, +

+

+ Get Confirmation/Success message for ticket creation +


+ +
+
+

+ View created tickets from portal +

+ +
+
+

+ View the details of each ticket by hovering over them. +

+ +
+
+

+ Configure stages for tickets +

+ +
+
+

+ View tickets according to stages in kanban view. +

+ +
+ +
+
+ +
+

+ Create / configure helpdesk teams +

+
+ +
+
+

+ Create Tickets from backend normally +

+ +
+
+

+ Enable 'Create Tasks' from configuration settings to create tasks for the project linked to the Ticket +

+ +
+
+

+ Turn on 'create task' toggle inside the ticket form to link a project to the Ticket +

+

+ Create Tasks: +


+ +
+
+

+ Turn on 'Billable' toggle inside the ticket form to create invoice based on the tasks timesheet +

+

+ Create invoice: +


+ +
+
+

+ Print PDF Report of the Ticket from backend +

+ +
+ +
+
+ +
+

+ Ticket (pdf): +

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

+ 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

+
+
+
+
+
+
+
+ +
+
+
+ diff --git a/odoo_website_helpdesk/static/src/js/ticket_details.js b/odoo_website_helpdesk/static/src/js/ticket_details.js new file mode 100644 index 000000000..536c789ad --- /dev/null +++ b/odoo_website_helpdesk/static/src/js/ticket_details.js @@ -0,0 +1,35 @@ +odoo.define("odoo_website_helpdesk.ticket_details", function (require) { + "use strict"; + + $(document).on("mouseover", "#popover", function (event) { + console.log("start"); + var self = this; + var item_text = ""; + if (self.parentElement.parentElement.children[3]) { + item_text = + "Ticket : " + + self.parentElement.parentElement.children[1].outerText + + "
" + + "Subject : " + + self.parentElement.parentElement.children[2].outerText + + "
" + + "Cost : " + + self.parentElement.parentElement.children[4].outerText + + "
" + + "Priority : " + + self.parentElement.parentElement.children[6].outerText+ + "
" +"
" + + "Description : " + + self.parentElement.parentElement.children[3].outerText + + "
"; + } + + $(this).popover({ + html: true, + placement: "right", + trigger: "hover", + title: "Ticket Details", + content: "" + item_text + "", + }); + }); +}); diff --git a/odoo_website_helpdesk/views/helpdesk.xml b/odoo_website_helpdesk/views/helpdesk.xml new file mode 100644 index 000000000..ac11c3bf7 --- /dev/null +++ b/odoo_website_helpdesk/views/helpdesk.xml @@ -0,0 +1,201 @@ + + + help.ticket.form + help.ticket + +
+
+
+ +
+ + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + + +
+ + + + + + help.ticket.tree + help.ticket + + + + + + + + + + + + help.ticket.kanban + help.ticket + + + + + + + +
+ +
+
+ + + +
+
+ Customer : + + +
+
+ Subject : + +
+
+ Team : + +
+
+
+
+ + + + + + + + + help.ticket.activity + help.ticket + + + +
+
+ + +
+
+
+
+
+
+ + + help.ticket.calendar + help.ticket + + + + + + + + + + + + ticket.stage.form + ticket.stage + +
+ +
+
+ + + + +
+
+
+
+ + + ticket.stage.tree + ticket.stage + + + + + + + + + + diff --git a/odoo_website_helpdesk/views/helpdesk_views.xml b/odoo_website_helpdesk/views/helpdesk_views.xml new file mode 100644 index 000000000..f7421a415 --- /dev/null +++ b/odoo_website_helpdesk/views/helpdesk_views.xml @@ -0,0 +1,58 @@ + + + + + Helpdesk + help.ticket + kanban,tree,form,calendar,activity + + + + Helpdesk + help.team + tree,form + + + + Stages + ticket.stage + tree,form + + + + Helpdesk Ticket + ir.actions.act_window + res.config.settings + form + inline + {'module': 'helpdesk_ticket'} + + + + + + + + + + + + + + + + + + + diff --git a/odoo_website_helpdesk/views/portal.xml b/odoo_website_helpdesk/views/portal.xml new file mode 100644 index 000000000..dc80282d4 --- /dev/null +++ b/odoo_website_helpdesk/views/portal.xml @@ -0,0 +1,98 @@ + + + + + + + + diff --git a/odoo_website_helpdesk/views/report.xml b/odoo_website_helpdesk/views/report.xml new file mode 100644 index 000000000..366b80d87 --- /dev/null +++ b/odoo_website_helpdesk/views/report.xml @@ -0,0 +1,107 @@ + + + + + Support Ticket + help.ticket + qweb-pdf + odoo_website_helpdesk.report_help_ticket + odoo_website_helpdesk.report_help_ticket + + report + + diff --git a/odoo_website_helpdesk/views/res_config_settings.xml b/odoo_website_helpdesk/views/res_config_settings.xml new file mode 100644 index 000000000..866975e18 --- /dev/null +++ b/odoo_website_helpdesk/views/res_config_settings.xml @@ -0,0 +1,28 @@ + + + res.config.settings.view.form.inherit.helpdesk + res.config.settings + + + + +
+

Helpdesk

+
+
+
+ +
+
+
+
+
+
+
+
+
+
diff --git a/odoo_website_helpdesk/views/team.xml b/odoo_website_helpdesk/views/team.xml new file mode 100644 index 000000000..e9c07a938 --- /dev/null +++ b/odoo_website_helpdesk/views/team.xml @@ -0,0 +1,50 @@ + + + help.team.form + help.team + +
+ +
+
+ + + + +
+ +

Tasks

+
+
+
+ +
+
+
+
+
+
+
+
+
+ + + help.team.tree + help.team + + + + + + + + +
diff --git a/odoo_website_helpdesk/views/website_form.xml b/odoo_website_helpdesk/views/website_form.xml new file mode 100644 index 000000000..bb8a97189 --- /dev/null +++ b/odoo_website_helpdesk/views/website_form.xml @@ -0,0 +1,360 @@ + + + Helpdesk + + + 55 + + + + Thanks (Helpdesk) + qweb + /helpdesk-thank-you + + True + odoo_website_helpdesk.helpdesk_thanks + + + +
+
+
+
+
+ +
+

Thank You!

+
+
+
+
+ + Your Ticket + + + + + + has been registered + successfully + +
+

We will get back + to you shortly. +

+
+
+
    +
  • My Company
  • +
  • + + 3575 + Demo Buena Vista Avenue + +
  • +
  • + + +1 + (650) 555-0111 + +
  • +
  • + + + info@yourcompany.example.com + +
  • +
+
+
+
+
+
+
+
+
+
+ + +