Files
odoo_source/addons/event_sale/data/mail_data.xml
T
Patrick Hoste 3ed271534e [IMP] event(_sale): improves event_sale informations
PURPOSE

Improve the integration between event and sale, by adding additional information
on both the sale order and the event registration views.

SPECIFICATIONS

- Add a stat button on the registration form linking to the related
sale order instead of a link in the form itself.
- Add a stat button on the sale order showing the registrations count
related to this sale order.
- When changing the ticket type on an attendee it displays an exception
activity on the sale order in order to warn the responsible for taking
action about it.

LINKS

task ID : 2093336
PR : #43420
2020-02-04 15:07:43 +00:00

24 lines
897 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="event_ticket_id_change_exception" name="Message: Alert on event ticket id change">
<div>
<p>
<span>Registration modification for attendee:</span>
<a href="#" data-oe-model="event.registration" t-att-data-oe-id="registration.id"><t t-esc="registration.name"/></a>.
<span>Manual actions may be needed.</span>
</p>
<div class="mt16">
<p>Exception:</p>
<ul>
<li>
<a href="#" data-oe-model="event.registration" t-att-data-oe-id="registration.id"><t t-esc="registration.name"/></a>:
<span>Ticket changed from <strong><t t-esc="old_ticket_name"/></strong> to <strong><t t-esc="new_ticket_name"/></strong></span>
</li>
</ul>
</div>
</div>
</template>
</odoo>