Files
odoo_source/addons/event_booth/data/mail_templates.xml
T
Patrick Hoste a2fe1cfb33 [IMP] (website_)event_booth(_sale): polish ux design
PURPOSE

This commit is a first polish for event booth modules. It includes:
- wording
- add currency on price fields
- removing booths tab on event view

LINKS

Task-2635461
PR: odoo/odoo#77081
2021-10-04 15:30:26 +00:00

40 lines
1.7 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<odoo><data>
<!-- This template is rendered on the event.event model without referring to it. -->
<!-- Instead it shows details about event.booth model. -->
<template id="event_booth_booked_template">
<p>
<span>
Booth
<a href="#" t-att-data-oe-model="booth._name" t-att-data-oe-id="booth.id" t-esc="booth.name"/>
</span>
<span t-esc="'booked by' if booth.partner_id else 'has been reserved by'"/>
<span>
<a href="#" t-att-data-oe-model="booth.partner_id._name or booth.env.user.partner_id._name"
t-att-data-oe-id="booth.partner_id.id or booth.env.user.partner_id.id"
t-esc="booth.partner_id.name or booth.env.user.partner_id.name"/>
</span>
</p>
<ul t-if="booth.partner_id" name="contact_details">
<t t-set="contact_name" t-value="booth.contact_name"/>
<li t-if="contact_name">
<b>Renter Name</b>: <span t-esc="contact_name"/>
</li>
<t t-set="contact_email" t-value="booth.contact_email"/>
<li t-if="contact_email">
<b>Renter Email</b>: <span t-esc="contact_email"/>
</li>
<t t-set="contact_mobile" t-value="booth.contact_mobile"/>
<li t-if="contact_mobile">
<b>Renter Mobile</b>: <span t-esc="contact_mobile"/>
</li>
<t t-set="contact_phone" t-value="booth.contact_phone"/>
<li t-if="contact_phone">
<b>Renter Phone</b>: <span t-esc="contact_phone"/>
</li>
</ul>
</template>
</data></odoo>