From 1ca3b3df3421961caec3b747a364071c80f5c7da Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Tue, 10 May 2022 17:14:58 +0700 Subject: initial commit --- sh_helpdesk/data/helpdesk_cron_data.xml | 13 + sh_helpdesk/data/helpdesk_data.xml | 13 + sh_helpdesk/data/helpdesk_email_data.xml | 807 +++++++++++++++++++++ sh_helpdesk/data/helpdesk_reminder_cron.xml | 13 + .../data/helpdesk_reminder_mail_template.xml | 187 +++++ sh_helpdesk/data/helpdesk_stage_data.xml | 51 ++ 6 files changed, 1084 insertions(+) create mode 100644 sh_helpdesk/data/helpdesk_cron_data.xml create mode 100644 sh_helpdesk/data/helpdesk_data.xml create mode 100644 sh_helpdesk/data/helpdesk_email_data.xml create mode 100644 sh_helpdesk/data/helpdesk_reminder_cron.xml create mode 100644 sh_helpdesk/data/helpdesk_reminder_mail_template.xml create mode 100644 sh_helpdesk/data/helpdesk_stage_data.xml (limited to 'sh_helpdesk/data') diff --git a/sh_helpdesk/data/helpdesk_cron_data.xml b/sh_helpdesk/data/helpdesk_cron_data.xml new file mode 100644 index 0000000..393f439 --- /dev/null +++ b/sh_helpdesk/data/helpdesk_cron_data.xml @@ -0,0 +1,13 @@ + + + + Auto Close Helpdesk Ticket + 1 + days + -1 + + + model._run_auto_close_ticket() + code + + diff --git a/sh_helpdesk/data/helpdesk_data.xml b/sh_helpdesk/data/helpdesk_data.xml new file mode 100644 index 0000000..dad1667 --- /dev/null +++ b/sh_helpdesk/data/helpdesk_data.xml @@ -0,0 +1,13 @@ + + + + Helpdesk Ticket Sequence + helpdesk.ticket + TICKET/ + 4 + + + + Ticket Dashboard + + diff --git a/sh_helpdesk/data/helpdesk_email_data.xml b/sh_helpdesk/data/helpdesk_email_data.xml new file mode 100644 index 0000000..52dfb34 --- /dev/null +++ b/sh_helpdesk/data/helpdesk_email_data.xml @@ -0,0 +1,807 @@ + + + + New Ticket: Send by email + + ${object.company_id.partner_id.email_formatted |safe} + ${object.partner_id.id} + ${object.company_id.name} Your Ticket is generated (Ref ${object.name or 'n/a' }) + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + +
+ + ${object.name} + + + ${object.company_id.name} +
+
+ + + + +
+

+ Dear ${object.partner_id.name} We received your request. +

+
+
+ Our Support Team will contact you as soon as possible. +
+
+
+
+ View Ticket +
+
+
+

+
+
+ + + + + +
+ ${object.company_id.name} +
+ ${object.company_id.phone or ''} +
+ % if object.company_id.email: + ${object.company_id.email} +
+ % endif + % if object.company_id.website: + + ${object.company_id.website} + + % endif +
+
+
+
+
+ + + New Ticket to Admin: Send by email + + ${object.company_id.partner_id.email_formatted |safe} + ${object.company_id.partner_id.id} + ${object.company_id.name} New Ticket Received In the System(Ref ${object.name or 'n/a' }) + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + +
+ + ${object.name} + + + ${object.company_id.name} +
+
+ + + + +
+

+ Dear ${object.company_id.name}, +
+ A new ticket is received in the system having following details: +

+

Ticket Information

+ Ticket : + ${object.name} +
+
+ Create Date : + ${object.create_date} +
+
+ Due Date : + ${object.sh_due_date} +
+
+ % if object.subject_id: + Subject : + ${object.subject_id.name} +
+
+ % endif + % if object.ticket_type: + Type : + ${object.ticket_type.name} +
+
+ % endif + % if object.category_id: + Category : + ${object.category_id.name} +
+
+ % endif + % if object.sub_category_id: + Sub Category : + ${object.sub_category_id.name} +
+
+ % endif + % if object.priority: + Priority : + ${object.priority.name} +
+
+ % endif +
+
+ Please process the ticket with details mentioned above. +
+
+ Thankyou +
+
+ + + +
+
+

+
+
+ + + + + +
+ ${object.company_id.name} +
+ ${object.company_id.phone or ''} +
+ % if object.company_id.email: + ${object.company_id.email} +
+ % endif + % if object.company_id.website: + + ${object.company_id.website} + + % endif +
+
+
+
+
+ + + Ticket is Resolved: Send by email + + ${object.create_uid.partner_id.email_formatted |safe} + ${object.partner_id.id} + ${object.company_id.name} Your ticket is resolved (Ref ${object.name or 'n/a' }) + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ + ${object.name} + + + ${object.company_id.name} +
+
+ + + + +
+

+ Dear ${object.partner_id.name}, +

+
+
+ As your request we have resolved your ticket. +
+
+
+
+ View Ticket +
+
+
+

+
+
+ + + + + +
+ ${object.company_id.name} +
+ ${object.company_id.phone or ''} +
+ % if object.company_id.email: + ${object.company_id.email} +
+ % endif + % if object.company_id.website: + + ${object.company_id.website} + + % endif +
+
+ +
+
+
+ + Ticket is Cancelled: Send by email + + ${object.create_uid.partner_id.email_formatted |safe} + ${object.partner_id.id} + ${object.company_id.name} Your ticket is cancelled (Ref ${object.name or 'n/a' }) + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ + ${object.name} + + + ${object.company_id.name} +
+
+ + + + +
+

+ Dear ${object.partner_id.name}, +

+
+
+ Your ticket is cancelled for now based on some technical issue. +
+
+
+
+ View Ticket +
+
+
+

+
+
+ + + + + +
+ ${object.company_id.name} +
+ ${object.company_id.phone or ''} +
+ % if object.company_id.email: + ${object.company_id.email} +
+ % endif + % if object.company_id.website: + + ${object.company_id.website} + + % endif +
+
+ +
+
+
+ + Ticket is Re-Opened: Send by email + + ${object.create_uid.partner_id.email_formatted |safe} + ${object.partner_id.id} + ${object.company_id.name} Your ticket is re-opened (Ref ${object.name or 'n/a' }) + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ + ${object.name} + + + ${object.company_id.name} +
+
+ + + + +
+

+ Dear ${object.partner_id.name} Your ticket is Re-opened, +

+
+
+ We will follow-up as soon as possible. +
+
+
+
+ View Ticket +
+
+
+

+
+
+ + + + + +
+ ${object.company_id.name} +
+ ${object.company_id.phone or ''} +
+ % if object.company_id.email: + ${object.company_id.email} +
+ % endif + % if object.company_id.website: + + ${object.company_id.website} + + % endif +
+
+ + +
+
+
+ + Ticket Allocation to assign user: Send by email + + ${object.company_id.name} Ticket is assign to user (Ref ${object.name or 'n/a' }) + + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ + ${object.name} + + + ${object.company_id.name} +
+
+ + + + +
+

+

+ We Have received new ticket from customer. +
+
+ Please take a follow-up as soon as possible. +
+
+
+
+ View Ticket +
+
+
+

+
+
+ + + + + +
+ ${object.company_id.name} +
+ ${object.company_id.phone or ''} +
+ % if object.company_id.email: + ${object.company_id.email} +
+ % endif + % if object.company_id.website: + + ${object.company_id.website} + + % endif +
+
+
+
+
+ + Ticket Reply: Send by email + + ${object.create_uid.partner_id.email_formatted |safe} + ${object.partner_id.id} + Ticket reply from ${object.company_id.name} (Ref ${object.name or 'n/a' }) + + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ + ${object.name} + + + ${object.company_id.name} +
+
+ + + + +
+

+ Dear ${object.partner_id.name}, +

+
+
+ Your Ticket is working on we will contact you soon. +
+
+
+
+ View Ticket +
+
+
+

+
+
+ + + + + +
+ ${object.company_id.name} +
+ ${object.company_id.phone or ''} +
+ % if object.company_id.email: + ${object.company_id.email} +
+ % endif + % if object.company_id.website: + + ${object.company_id.website} + + % endif +
+
+ + +
+
+
+ + Closed Ticket: Send by email + + ${object.create_uid.partner_id.email_formatted |safe} + ${object.partner_id.id} + ${object.company_id.name} Your ticket is closed (Ref ${object.name or 'n/a' }) + + +
+ + + + + + + + + + + + + + + + + + +
+ + + + + +
+ + ${object.name} + + + ${object.company_id.name} +
+
+ + + + +
+

+ Dear ${object.partner_id.name}, +

+
+
+ Your Ticket is closed for now, if you want to Re-open your ticket please give your reply. +
+
+ We would like to get your feedback on the support. +
+
+
+
+ Give Feedback +
+
+
+

+
+
+ + + + + +
+ ${object.company_id.name} +
+ ${object.company_id.phone or ''} +
+ % if object.company_id.email: + ${object.company_id.email} +
+ % endif + % if object.company_id.website: + + ${object.company_id.website} + + % endif +
+
+
+
+
+ + Ticket Whatsapp: Send by email + + ${object.create_uid.email_formatted |safe} + ${object.partner_id.id} + ${object.company_id.name} (Ref ${object.name or 'n/a' }) + +
+

+

+ Dear ${object.partner_id.name} ,%0A%0A + Here is the your Ticket *${object.name}* + from ${object.company_id.name} %0A%0A + % if object.company_id.sh_ticket_product_detail: + % if object.product_ids: +
+ + + *Following is your product details*.%0A%0A + + %for line in object.product_ids: + + ${line.name_get()[0][1]}%0A%0A + + % endfor + % endif + % endif +
+ % if object.company_id.sh_pdf_in_message: + *Click here to download Ticket Document* %20 :${object.sh_ticket_report_url} %0A%0A + % endif +
+ % if object.company_id.sh_ticket_url_in_message: + *Click here to See Ticket History* %20 :${object.portal_ticket_url_wp} %0A%0A + % endif +
+ % if object.company_id.sh_signature and object.env.user.sign : + %20 *${object.env.user.sign}* %0A%0A + % endif +
+

+
+
+ ${object.partner_id.lang} + +
+
\ No newline at end of file diff --git a/sh_helpdesk/data/helpdesk_reminder_cron.xml b/sh_helpdesk/data/helpdesk_reminder_cron.xml new file mode 100644 index 0000000..18dab78 --- /dev/null +++ b/sh_helpdesk/data/helpdesk_reminder_cron.xml @@ -0,0 +1,13 @@ + + + + Ticket Reminder + 1 + minutes + -1 + + + model._run_ticket_reminder() + code + + diff --git a/sh_helpdesk/data/helpdesk_reminder_mail_template.xml b/sh_helpdesk/data/helpdesk_reminder_mail_template.xml new file mode 100644 index 0000000..fe5c9e7 --- /dev/null +++ b/sh_helpdesk/data/helpdesk_reminder_mail_template.xml @@ -0,0 +1,187 @@ + + + + + Ticket Reminder + + ${object.company_id.partner_id.email_formatted |safe} + ${object.company_id.name} Ticket Reminder(Ref ${object.name or 'n/a' }) + + +
+ + + + + + + + + + + + + + + + + + +
+ + + + + +
+ + Ticket Remainder (${object.name}) + + + ${object.company_id.name} +
+
+ + + + +
+

+

+ +

Ticket Information

+ Ticket : + ${object.name} +
+
+ Create Date : + ${object.create_date} +
+
+ Due Date : + ${object.sh_due_date} +
+
+ % if object.subject_id: + Subject : + ${object.subject_id.name} +
+
+ % endif + % if object.ticket_type: + Type : + ${object.ticket_type.name} +
+
+ % endif + % if object.category_id: + Category : + ${object.category_id.name} +
+
+ % endif + % if object.sub_category_id: + Sub Category : + ${object.sub_category_id.name} +
+
+ % endif + % if object.priority: + Priority : + ${object.priority.name} +
+
+ % endif + % if object.team_id: + Team : + ${object.team_id.name} +
+
+ % endif + % if object.team_head: + Team Head : + ${object.team_head.name} +
+
+ % endif + % if object.user_id: + Assigned To : + ${object.user_id.name} +
+
+ % endif + % if object.sh_user_ids: + Assign Multi Users : + % for row in object.sh_user_ids : + + ${row.name} + + %endfor +
+
+ % endif + % if object.tag_ids: + Tags : + % for row in object.tag_ids : + + ${row.name} + + %endfor +
+
+ % endif + % if object.product_ids: + Products : + % for row in object.product_ids: + + ${row.name_get()[0][1]} + + %endfor +
+
+ % endif + Partner : + ${object.partner_id.name} +
+
+ Person Name : + ${object.person_name} +
+
+ Email : + ${object.email} +
+
+
+
+ View Ticket +
+

+
+
+ + + + + +
+ ${object.company_id.name} +
+ ${object.company_id.phone or ''} +
+ % if object.company_id.email: + ${object.company_id.email} +
+ % endif + % if object.company_id.website: + + ${object.company_id.website} + + % endif +
+
+
+
+
+
+
\ No newline at end of file diff --git a/sh_helpdesk/data/helpdesk_stage_data.xml b/sh_helpdesk/data/helpdesk_stage_data.xml new file mode 100644 index 0000000..2395d6c --- /dev/null +++ b/sh_helpdesk/data/helpdesk_stage_data.xml @@ -0,0 +1,51 @@ + + + + + Closed + 4 + + + + Done + + 3 + + + + In Progress + + 2 + + + New + + 1 + + + + Cancelled + 5 + + + + Reopened + 6 + + + + + My Company + + + + + + + + + + + + + -- cgit v1.2.3