Skip to content

Commit

Permalink
[FIX] portal_event_tickets: исправили недопортированный шаблон
Browse files Browse the repository at this point in the history
  • Loading branch information
em230418 committed Dec 18, 2024
1 parent 5d804a9 commit 250c6aa
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions portal_event_tickets/data/mail_template_data.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,24 @@
<field name="name">Event: Transferring started</field>
<!--<field name="email_from">${(object.partner_id.email or '')|safe}</field>-->
<field name="subject">Finish ticket transferring</field>
<field name="partner_to">${object.attendee_partner_id.id}</field>
<field name="partner_to">{{ object.attendee_partner_id.id }}</field>
<field name="model_id" ref="event.model_event_registration" />
<field name="auto_delete" eval="True" />
<field name="lang">${object.partner_id.lang}</field>
<field name="lang">{{ object.attendee_partner_id.lang }}</field>
<field
name="body_html"
><![CDATA[
<p>
Hello ${object.attendee_partner_id.name},<br />
Hello <t t-out="object.attendee_partner_id.name" />,<br />
The ticket transferring was initiated. Open the link below to complete to process:
<div style="padding:0px;width:600px;margin:auto;background: #FFFFFF repeat top /100%;color:#777777">
<div style="text-align: center; margin-top: 16px;">
<a href="/my/tickets/transfer/receive?transfer_ticket=${object.id}" style="padding: 5px 10px; font-size: 12px; line-height: 18px; color: #FFFFFF; border-color:#875A7B; text-decoration: none; display: inline-block; margin-bottom: 0px; font-weight: 400; text-align: center; vertical-align: middle; cursor: pointer; white-space: nowrap; background-image: none; background-color: #875A7B; border: 1px solid #875A7B; border-radius:3px">Finish ticket transferring</a>
<a t-attf-href="/my/tickets/transfer/receive?transfer_ticket={{ object.id }}" style="padding: 5px 10px; font-size: 12px; line-height: 18px; color: #FFFFFF; border-color:#875A7B; text-decoration: none; display: inline-block; margin-bottom: 0px; font-weight: 400; text-align: center; vertical-align: middle; cursor: pointer; white-space: nowrap; background-image: none; background-color: #875A7B; border: 1px solid #875A7B; border-radius:3px">Finish ticket transferring</a>
</div>
</div>
You
</p>
<p>
</p>
Expand Down

0 comments on commit 250c6aa

Please sign in to comment.