2021-03-12 11:39:56 +05:30
<?xml version="1.0" ?>
<flectra>
2023-02-15 16:10:39 +05:30
<!--Email template -->
<record id= "ticket_mail_template" model= "mail.template" >
<field name= "name" > Helpdesk Ticket : Send By Email</field>
<field name= "subject" > Ticket Receive Mail</field>
<field name= "email_from" > ${(object.user_id.email_formatted or user.email_formatted) | safe}</field>
<field name= "email_to" > ${(object.partner_email if not object.sudo().partner_id.email or object.sudo().partner_id.email != object.partner_email else '') | safe}</field>
<field name= "partner_to" > ${object.partner_id.id if object.sudo().partner_id.email and object.sudo().partner_id.email == object.partner_email else ''}</field>
<field name= "model_id" ref= "helpdesk_basic.model_helpdesk_ticket" />
<field name= "body_html" type= "html" >
<table border= "0" cellpadding= "0" cellspacing= "0" class= "helpdesk_ticket_email"
style= "padding-top: 16px; background-color: #F1F1F1; font-family:Verdana, Arial,sans-serif; color: #454748; width: 100%; border-collapse:separate;" >
<tr>
<td align= "center" >
<table border= "0" cellpadding= "0" cellspacing= "0" width= "590"
style= "padding: 16px; background-color: white; color: #454748; border-collapse:separate;" >
<tbody>
<tr>
<td align= "center" style= "min-width: 590px;" >
<table border= "0" cellpadding= "0" cellspacing= "0" width= "590"
style= "min-width: 590px; background-color: white; padding: 0px 8px 0px 8px; border-collapse:separate;" >
<tr>
<td valign= "middle" >
<span style= "font-size: 10px;" />
<br/>
</td>
<td valign= "middle" align= "right" >
<img src= "/logo.png?company=${object.company_id.id}"
style= "padding: 0px; margin: 0px; height: auto; width: 80px;"
alt= "${object.company_id.name}" />
</td>
</tr>
<tr>
<td colspan= "2" style= "text-align:center;" >
<hr width= "100%"
style= "background-color:rgb(204,204,204);border:medium none;clear:both;display:block;font-size:0px;min-height:1px;line-height:0; margin:16px 0px 16px 0px;" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align= "center" style= "min-width: 590px;" >
<table border= "0" cellpadding= "0" cellspacing= "0" width= "590"
style= "min-width: 590px; background-color: white; padding: 0px 8px 0px 8px; border-collapse:separate;" >
<tr>
<td valign= "top" style= "font-size: 13px;" >
<div style= "margin: 0px; padding: 0px;" >
<p> Dear
% if object.partner_id:
${object.partner_id.name},
% elif not object.partner_id and object.user_id:
${object.user_id.name},
% else:
${user.name},
% endif
</p>
<p>
your request has been successfully submitted
to a
company and is currently being reviewed by
${object.team_id.name}.
This review process may take some time.
</p>
<p>
Once the review is complete, you can expect to receive a
response from the team,
which may include additional information or a resolution
to your request.
</p>
<p>
Click on following button for more detail about ticket.
<div style= "margin-top: 20px;" >
<a href= "/my/ticket/${object.id}"
target= "_blank"
class= "btn btn-primary" >
View Ticket
</a>
</div>
<br/>
Thank you,
<br/>
<br/>
${object.team_id.name}
</p>
</div>
</td>
</tr>
<tr>
<td style= "text-align:center;" >
<hr width= "100%"
style= "background-color:rgb(204,204,204);border:medium none;clear:both;display:block;font-size:0px;min-height:1px;line-height:0; margin: 16px 0px 16px 0px;" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align= "center" style= "min-width: 590px;" >
<table border= "0" cellpadding= "0" cellspacing= "0" width= "590"
style= "min-width: 590px; background-color: white; font-size: 11px; padding: 0px 8px 0px 8px; border-collapse:separate;" >
<tr>
<td valign= "middle" align= "left" >
${object.company_id.name}
</td>
</tr>
<tr>
<td valign= "middle" align= "left" style= "opacity: 0.7;" >
${object.company_id.phone}
% if object.company_id.email
|
<a href= "'mailto:%s' % ${object.company_id.email}"
style= "text-decoration:none; color: #454748;" >
${object.company_id.email}
</a>
% endif
% if object.company_id.website
|
<a href= "'%s' % ${object.company_id.website}"
style= "text-decoration:none; color: #454748;" >
${object.company_id.website}
</a>
% endif
</td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</table>
2021-03-12 11:39:56 +05:30
</field>
</record>
<record id= "ticket_confirm_mail_template" model= "mail.template" >
<field name= "name" > Helpdesk Ticket : Confirm By Email</field>
<field name= "subject" > Confirm Ticket Mail</field>
2021-06-30 16:16:14 +00:00
<field name= "email_from" > ${(object.user_id.email_formatted or user.email_formatted) | safe}</field>
2021-07-26 12:34:39 +05:30
<field name= "email_to" > ${(object.partner_email if not object.sudo().partner_id.email or object.sudo().partner_id.email != object.partner_email else '') | safe}</field>
<field name= "partner_to" > ${object.partner_id.id if object.sudo().partner_id.email and object.sudo().partner_id.email == object.partner_email else ''}</field>
2021-03-12 11:39:56 +05:30
<field name= "model_id" ref= "helpdesk_basic.model_helpdesk_ticket" />
<field name= "body_html" type= "html" >
2023-02-15 16:10:39 +05:30
<table border= "0" cellpadding= "0" cellspacing= "0"
style= "padding-top: 16px; background-color: #F1F1F1; font-family:Verdana, Arial,sans-serif; color: #454748; width: 100%; border-collapse:separate;" >
<tr>
<td align= "center" >
<table border= "0" cellpadding= "0" cellspacing= "0" width= "590"
style= "padding: 16px; background-color: white; color: #454748; border-collapse:separate;" >
<tbody>
<tr>
<td align= "center" style= "min-width: 590px;" >
<table border= "0" cellpadding= "0" cellspacing= "0" width= "590"
style= "min-width: 590px; background-color: white; padding: 0px 8px 0px 8px; border-collapse:separate;" >
<tr>
<td valign= "middle" >
<span style= "font-size: 10px;" />
<br/>
</td>
<td valign= "middle" align= "right" >
<img src= "/logo.png?company=${object.company_id.id}"
style= "padding: 0px; margin: 0px; height: auto; width: 80px;"
alt= "${object.company_id.name}" />
</td>
</tr>
<tr>
<td colspan= "2" style= "text-align:center;" >
<hr width= "100%"
style= "background-color:rgb(204,204,204);border:medium none;clear:both;display:block;font-size:0px;min-height:1px;line-height:0; margin:16px 0px 16px 0px;" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align= "center" style= "min-width: 590px;" >
<table border= "0" cellpadding= "0" cellspacing= "0" width= "590"
style= "min-width: 590px; background-color: white; padding: 0px 8px 0px 8px; border-collapse:separate;" >
<tr>
<td valign= "top" style= "font-size: 13px;" >
<div style= "margin: 0px; padding: 0px;" >
<p> Dear
% if object.partner_id:
${object.partner_id.name},
% elif not object.partner_id and object.user_id:
${object.user_id.name},
% else:
${user.name},
% endif
</p>
<p>
Your request flectra has been resolved by our
${object.team_id.name}.
</p>
<p>
If you have any further questions, you may want
to reach out to the company's customer service team or
support channels for more information.
</p>
<p>
Click on following button for more detail about ticket.
<div style= "margin-top: 20px;" >
<a href= "/my/ticket/${object.id}"
target= "_blank"
class= "btn btn-primary" >
View Ticket
</a>
</div>
<br/>
Thank you,
<br/>
<br/>
${object.team_id.name}
</p>
</div>
</td>
</tr>
<tr>
<td style= "text-align:center;" >
<hr width= "100%"
style= "background-color:rgb(204,204,204);border:medium none;clear:both;display:block;font-size:0px;min-height:1px;line-height:0; margin: 16px 0px 16px 0px;" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align= "center" style= "min-width: 590px;" >
<table border= "0" cellpadding= "0" cellspacing= "0" width= "590"
style= "min-width: 590px; background-color: white; font-size: 11px; padding: 0px 8px 0px 8px; border-collapse:separate;" >
<tr>
<td valign= "middle" align= "left" >
${object.company_id.name}
</td>
</tr>
<tr>
<td valign= "middle" align= "left" style= "opacity: 0.7;" >
${object.company_id.phone}
% if object.company_id.email
|
<a href= "'mailto:%s' % ${object.company_id.email}"
style= "text-decoration:none; color: #454748;" >
${object.company_id.email}
</a>
% endif
% if object.company_id.website
|
<a href= "'%s' % ${object.company_id.website}"
style= "text-decoration:none; color: #454748;" >
${object.company_id.website}
</a>
% endif
</td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</table>
2021-03-12 11:39:56 +05:30
</field>
</record>
<record id= "ticket_rating_mail_template" model= "mail.template" >
<field name= "name" > Helpdesk Ticket : Rating By Email</field>
<field name= "subject" > Rating Request Mail</field>
2021-07-26 12:34:39 +05:30
<field name= "email_from" > ${(object.user_id.email_formatted or user.email_formatted) | safe}</field>
<field name= "email_to" > ${(object.partner_email if not object.sudo().partner_id.email or object.sudo().partner_id.email != object.partner_email else '') | safe}</field>
<field name= "partner_to" > ${object.partner_id.id if object.sudo().partner_id.email and object.sudo().partner_id.email == object.partner_email else ''}</field>
2021-03-12 11:39:56 +05:30
<field name= "model_id" ref= "helpdesk_basic.model_helpdesk_ticket" />
<field name= "body_html" type= "html" >
2023-02-15 16:10:39 +05:30
<table border= "0" cellpadding= "0" cellspacing= "0"
style= "padding-top: 16px; background-color: #F1F1F1; font-family:Verdana, Arial,sans-serif; color: #454748; width: 100%; border-collapse:separate;" >
<tr>
<td align= "center" >
<table border= "0" cellpadding= "0" cellspacing= "0" width= "590"
style= "padding: 16px; background-color: white; color: #454748; border-collapse:separate;" >
<tbody>
2021-03-12 11:39:56 +05:30
<tr>
2023-02-15 16:10:39 +05:30
<td align= "center" style= "min-width: 590px;" >
<table border= "0" cellpadding= "0" cellspacing= "0" width= "590"
style= "min-width: 590px; background-color: white; padding: 0px 8px 0px 8px; border-collapse:separate;" >
<tr>
<td valign= "middle" >
<span style= "font-size: 10px;" />
<br/>
</td>
<td valign= "middle" align= "right" >
<img src= "/logo.png?company=${object.company_id.id}"
style= "padding: 0px; margin: 0px; height: auto; width: 80px;"
alt= "${object.company_id.name}" />
</td>
</tr>
<tr>
<td colspan= "2" style= "text-align:center;" >
<hr width= "100%"
style= "background-color:rgb(204,204,204);border:medium none;clear:both;display:block;font-size:0px;min-height:1px;line-height:0; margin:16px 0px 16px 0px;" />
</td>
</tr>
</table>
2021-03-12 11:39:56 +05:30
</td>
2023-02-15 16:10:39 +05:30
</tr>
<tr>
<td align= "center" style= "min-width: 590px;" >
<table border= "0" cellpadding= "0" cellspacing= "0" width= "590"
style= "min-width: 590px; background-color: white; padding: 0px 8px 0px 8px; border-collapse:separate;" >
<tr>
<td valign= "top" style= "font-size: 13px;" >
<div style= "margin: 0px; padding: 0px;" >
<p> Please take a moment to rate our services related to the
ticket ${object.name}.
<br/>
<tr>
<td style= "text-align: center;" >
<table border= "0" cellpadding= "0" cellspacing= "0"
summary= "o_mail_notification"
style= "width:100%; margin: 32px 0px 32px 0px;" >
<tr>
<td style= "font-size: 14px;" >
<strong> Tell us how you feel about our
service
</strong>
<br/>
<span style= "text-color: #888888" > (click
on one of these smileys)
</span>
</td>
</tr>
<tr>
<td style= "font-size: 14px;" >
<table style= "width:100%;text-align:center;" >
<tr>
<td>
<a href= "/rate/${object.access_token}/5" >
<img alt= "Satisfied"
src= "/rating/static/src/img/rating_5.png"
title= "Satisfied" />
</a>
</td>
<td>
<a href= "/rate/${object.access_token}/3" >
<img alt= "Not satisfied"
src= "/rating/static/src/img/rating_3.png"
title= "Not satisfied" />
</a>
</td>
<td>
<a href= "/rate/${object.access_token}/1" >
<img alt= "Highly Dissatisfied"
src= "/rating/static/src/img/rating_1.png"
title= "Highly Dissatisfied" />
</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
We appreciate your feedback. It helps us to improve
continuously.
</p>
</div>
</td>
</tr>
<tr>
<td style= "text-align:center;" >
<hr width= "100%"
style= "background-color:rgb(204,204,204);border:medium none;clear:both;display:block;font-size:0px;min-height:1px;line-height:0; margin: 16px 0px 16px 0px;" />
</td>
</tr>
</table>
2021-03-12 11:39:56 +05:30
</td>
2023-02-15 16:10:39 +05:30
</tr>
<tr>
<td align= "center" style= "min-width: 590px;" >
<table border= "0" cellpadding= "0" cellspacing= "0" width= "590"
style= "min-width: 590px; background-color: white; font-size: 11px; padding: 0px 8px 0px 8px; border-collapse:separate;" >
<tr>
<td valign= "middle" align= "left" >
${object.company_id.name}
</td>
</tr>
<tr>
<td valign= "middle" align= "left" style= "opacity: 0.7;" >
${object.company_id.phone}
% if object.company_id.email
|
<a href= "'mailto:%s' % ${object.company_id.email}"
style= "text-decoration:none; color: #454748;" >
${object.company_id.email}
</a>
% endif
% if object.company_id.website
|
<a href= "'%s' % ${object.company_id.website}"
style= "text-decoration:none; color: #454748;" >
${object.company_id.website}
</a>
% endif
</td>
</tr>
</table>
2021-03-12 11:39:56 +05:30
</td>
</tr>
2023-02-15 16:10:39 +05:30
</tbody>
</table>
</td>
</tr>
</table>
2021-03-12 11:39:56 +05:30
</field>
</record>
</flectra>