summaryrefslogtreecommitdiff
path: root/addons/website_event
diff options
context:
space:
mode:
authorAurélien Warnon <awa@odoo.com>2020-06-24 11:40:02 +0000
committerThibault Delavallée <tde@odoo.com>2020-07-24 06:54:35 +0000
commit382b8f5e1a6d8e7baa9733c5be9d76a38fab20d8 (patch)
treea8bbcb6c8cfd008197e106cf6224822a7441c150 /addons/website_event
parent54f5c14a3f43ee55731a04c34fde5f3e6134c4dd (diff)
[IMP] (website)_event_(track): improve and add demo data
PURPOSE Prepare Event Online support by providing fixes and preparatory cleaning commits. SPECIFICATIONS As new Online Event feature is about to land new and improved demo data is necessary to showcase it. Add a new event for demo data that will be used to showcase the "online" features to be added soon. Add some interesting demo on it: tags, tracks, sponsors, ... LINKS Task ID 2289148 (Event Bugprovements) Prepares Task ID 2252655 (master Online Event task) Prepares Task ID 2283796 (Event B2Basics) PR #53944 X-original-commit: 553e835eb87a750312bed8e188b3ba82e811f7cc Co-authored-by: Aurélien Warnon <awa@odoo.com> Co-authored-by: David Beguin <dbe@odoo.com> Co-authored-by: Thibault Delavallée <tde@odoo.com>
Diffstat (limited to 'addons/website_event')
-rw-r--r--addons/website_event/data/event_demo.xml21
-rw-r--r--addons/website_event/static/src/img/event_cover_7.jpgbin0 -> 63219 bytes
2 files changed, 21 insertions, 0 deletions
diff --git a/addons/website_event/data/event_demo.xml b/addons/website_event/data/event_demo.xml
index 6cdb14702a7..5ccb5ea98c5 100644
--- a/addons/website_event/data/event_demo.xml
+++ b/addons/website_event/data/event_demo.xml
@@ -148,6 +148,27 @@
<field name="cover_properties">{"background-image": "none", "background-color": "secondary", "opacity": ""}</field>
</record>
+ <record id="event.event_7" model="event.event">
+ <field name="website_menu">True</field>
+ <field name="website_published">True</field>
+ <field name="subtitle">Our newest collection will be revealed online! Interact with us on our live streams!</field>
+ <field name="cover_properties">{"background-image": "url('/website_event/static/src/img/event_cover_7.jpg')", "resize_class": "o_record_has_cover o_half_screen_height", "opacity": "0.4"}</field>
+ <field name="description" type="html">
+<div class="oe_structure">
+ <h5>The finest OpenWood furnitures are coming to your house in a brand new collection</h5>
+ <p>
+ And this time, we go fully ONLINE! Meet us in our live streams from the confort of your house.<br/>
+ Special discount codes will be handed out during the various streams, make sure to be there on time.
+ </p>
+ <p class="mb-3">For any additional information, please contact us at <a href="mailto:events@openwood.example.com">events@penwood.example.com</a>.</p>
+ <div class="bg-light rounded-right border-left border-secondary p-3 mb-5" style="border-left-width: 3px !important;">
+ <p class="mb-1">This event is fully online and FREE, if you have paid for tickets, you should get a refund.<br/>
+ It will require a good Internet connection to get the best video quality.</p>
+ </div>
+</div>
+ </field>
+ </record>
+
<record id="base.res_partner_1" model="res.partner">
<field name="is_published">True</field>
</record>
diff --git a/addons/website_event/static/src/img/event_cover_7.jpg b/addons/website_event/static/src/img/event_cover_7.jpg
new file mode 100644
index 00000000000..9914bdf23a0
--- /dev/null
+++ b/addons/website_event/static/src/img/event_cover_7.jpg
Binary files differ