summaryrefslogtreecommitdiff
path: root/addons/event_sale/report
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
commit3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch)
treea44932296ef4a9b71d5f010906253d8c53727726 /addons/event_sale/report
parent0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff)
initial commit 2
Diffstat (limited to 'addons/event_sale/report')
-rw-r--r--addons/event_sale/report/event_event_templates.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/addons/event_sale/report/event_event_templates.xml b/addons/event_sale/report/event_event_templates.xml
new file mode 100644
index 00000000..fa17929c
--- /dev/null
+++ b/addons/event_sale/report/event_event_templates.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<odoo>
+
+ <template id="event_registration_report_template_badge" inherit_id="event.event_registration_report_template_badge">
+ <xpath expr="//div[@id='o_event_name']" position="inside">
+ <div t-if="o.event_ticket_id" class="col-12 text-center" style="padding:0px;">
+ <div style="background: lightgrey; height: 65px;" class="mt16 text-center">
+ <h3><span t-field="o.event_ticket_id"/></h3>
+ </div>
+ </div>
+ </xpath>
+ </template>
+
+ <template id="event_event_report_template_badge" inherit_id="event.event_event_report_template_badge">
+ <xpath expr="//div[@id='o_event_attendee_name']" position="inside">
+ <div t-if="bool(len(event.event_ticket_ids))" class="col-12" style="padding: 0px;" t-ignore="true">
+ <div style="background: lightgrey; height: 65px;" class="mt16 text-center">
+ <h3>Ticket Type</h3>
+ </div>
+ </div>
+ </xpath>
+ </template>
+
+</odoo>