summaryrefslogtreecommitdiff
path: root/addons/website_event/data
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/website_event/data
parent0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff)
initial commit 2
Diffstat (limited to 'addons/website_event/data')
-rw-r--r--addons/website_event/data/event_data.xml35
-rw-r--r--addons/website_event/data/event_demo.xml174
-rw-r--r--addons/website_event/data/event_registration_demo.xml18
-rw-r--r--addons/website_event/data/res_partner_demo.xml311
-rw-r--r--addons/website_event/data/website_visitor_demo.xml26
5 files changed, 564 insertions, 0 deletions
diff --git a/addons/website_event/data/event_data.xml b/addons/website_event/data/event_data.xml
new file mode 100644
index 00000000..d82c160e
--- /dev/null
+++ b/addons/website_event/data/event_data.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<odoo>
+ <data noupdate="1">
+
+ <record id="menu_events" model="website.menu">
+ <field name="name">Events</field>
+ <field name="url">/event</field>
+ <field name="parent_id" ref="website.main_menu"/>
+ <field name="sequence" type="int">30</field>
+ </record>
+ <record id="action_open_website" model="ir.actions.act_url">
+ <field name="name">Website Home</field>
+ <field name="target">self</field>
+ <field name="url">/event</field>
+ </record>
+ <record id="base.open_menu" model="ir.actions.todo">
+ <field name="action_id" ref="action_open_website"/>
+ <field name="state">open</field>
+ </record>
+
+ <record id="mt_event_published" model="mail.message.subtype">
+ <field name="name">Event published</field>
+ <field name="res_model">event.event</field>
+ <field name="default" eval="False"/>
+ <field name="description">Event published</field>
+ </record>
+ <record id="mt_event_unpublished" model="mail.message.subtype">
+ <field name="name">Event unpublished</field>
+ <field name="res_model">event.event</field>
+ <field name="default" eval="False"/>
+ <field name="description">Event unpublished</field>
+ </record>
+
+ </data>
+</odoo>
diff --git a/addons/website_event/data/event_demo.xml b/addons/website_event/data/event_demo.xml
new file mode 100644
index 00000000..31822c69
--- /dev/null
+++ b/addons/website_event/data/event_demo.xml
@@ -0,0 +1,174 @@
+<?xml version="1.0" encoding="utf-8"?>
+<odoo>
+ <record id="event.event_0" model="event.event">
+ <field name="website_published" eval="True"/>
+ <field name="subtitle">Get Inspired • Stay Connected • Have Fun</field>
+ <field name="cover_properties">{"background-image": "url('/website_event/static/src/img/event_cover_0.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>Join us for this 3-day Event</h5>
+ <p class="lead mb-3">Every year we invite our community, partners and end-users to come and meet us! It's the ideal event to get together and present new features, roadmap of future versions, achievements of the software, workshops, training sessions, etc....</p>
+ <p class="mb-3">This event is also an opportunity to showcase our partners' case studies, methodology or developments. Be there and see directly from the source the features of the version 12!
+ </p>
+ <div class="bg-light rounded-right border-left border-secondary p-3 mb-5" style="border-left-width: 3px !important;">
+ <p class="mb-0"><i class="fa fa-info-circle mr-2"/>This event and all the conferences are in <b>English</b>!</p>
+ </div>
+ <h5 class="mb-2">What's new?</h5>
+ <ul class="mb-5">
+ <li class="mb-2"><b>The Design Fair is preceded by 2 days of Training Sessions for experts!</b><br/> We propose 3 different training sessions, 2 days each.</li>
+ <li class="mb-2"><b>The whole event is open to all public!</b> <br/>We ask a participation fee of 49.50€ for the costs for the 3 days (coffee breaks, catering, drinks and a surprising concert and beer party).<br/> For those who don't want to contribute, there is a free ticket, therefore, catering and access to evening events aren't included.</li>
+ <li class="mb-2"><b>The plenary sessions in the morning will be shorter</b> and we will give more time for thematical meetings, conferences, workshops and tutorial sessions in the afternoon.</li>
+ </ul>
+ <h5 class="mb-2">Program</h5>
+ <p>Conferences, workshops and trainings will be organized in 6 rooms:</p>
+ <ul class="mb-5">
+ <li><b>Technical Rooms</b> - One dedicated to advanced Odoo developers, one for new developers.</li>
+ <li><b>Technical Rooms</b> - One dedicated to advanced Odoo developers, one for new developers.</li>
+ <li><b>Business Room</b> - To discuss implementation methodologies, best sales practices, etc.</li>
+ <li><b>Workshop Room</b> - Mainly for developers.</li>
+ </ul>
+ <div class="bg-light rounded-right border-left border-secondary p-3 mb-3" style="border-left-width: 3px !important;">
+ <p class="mb-0"><em>If you wish to make a presentation, please send your topic proposal as soon as possible for approval to Mr. Famke Jenssens at ngh (a) yourcompany (dot) com. The presentations should be, for example, a presentation of a community module, a case study, methodology feedback, technical, etc. Each presentation must be in English.</em></p>
+ </div>
+ <p class="mb-3">For any additional information, please contact us at <a href="mailto:events@yourcompany.com">events@yourcompany.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-0">OpenElec Applications reserves the right to cancel, re-name or re-locate the event or change the dates on which it is held.</p>
+ </div>
+ </div>
+ </field>
+ </record>
+
+ <record id="event.event_1" model="event.event">
+ <field name="website_menu" eval="True"/>
+ <field name="website_published" eval="True"/>
+ <field name="menu_register_cta" eval="True"/>
+ <field name="subtitle">The Great Reno Balloon Race is the world's largest free hot-air ballooning event.</field>
+ <field name="cover_properties">{"background-image": "url('/website_event/static/src/img/event_cover_1.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>Join us for the greatest ballon race of all times !</h5>
+ <p class="lead mb-3">The best aeronauts of the world will gather on this event to offer you the most spectacular show.</p>
+ <p class="lead mb-3">Around one hundred ballons will simultaneously take flight and turn the sky into a beautiful canvas of colours.</p>
+ <p class="lead mb-3">This is the perfect place for spending a nice day with your family, we guarantee you will be leaving with beautiful everlasting memories !</p>
+ <p class="mb-3">For any additional information, please contact us at <a href="mailto:events@yourcompany.com">events@yourcompany.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">We reserve the right to cancel, re-name or re-locate the event or change the dates on which it is held in case the weather fails us.</p>
+ <p class="mb0">The safety of our attendees and our aeronauts comes first !</p>
+ </div>
+ </div>
+ </field>
+ </record>
+
+ <record id="event.event_2" model="event.event">
+ <field name="website_published" eval="True"/>
+ <field name="subtitle">Enhance your architectural business and improve professional skills.</field>
+ <field name="cover_properties">{"background-image": "url('/website_event/static/src/img/event_cover_2.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>Conference for Architects</h5>
+ <p class="lead">During this conference, our team will give a detailed overview of our business applications. You’ll know all the benefits of using it.</p>
+ <h6>Objectives</h6>
+ <p>Having attended this conference, participants should be able to:</p>
+ <ul class="mb-4">
+ <li>Understand the various modules;</li>
+ <li>Functional flow of the main applications;</li>
+ </ul>
+ <h6>Program</h6>
+ <ul class="mb-4">
+ <li>Introduction, CRM, Sales Management</li>
+ <li>Purchase, Sales &amp; Purchase management, Financial accounting.</li>
+ <li>Project management, Human resources, Contract management.</li>
+ <li>Warehouse management, Manufacturing (MRP) &amp; Sales, Import/Export.</li>
+ <li>Point of Sale (POS), Introduction to report customization.</li>
+ </ul>
+
+ <p>For any additional information, please contact us at <a href="mailto:events@odoo.com">events@odoo.com</a></p>
+
+ <section class="s_we_speaker bg-200 p-3 mb-4" itemscope="itemscope" itemtype="http://schema.org/Person" itemprop="performer">
+ <span class="badge badge-secondary o_wevent_badge float-right">SPEAKER</span>
+ <img src="/mail/static/src/img/odoobot.png" width="70" class="img-fluid rounded-circle float-left mr-3" alt=""/>
+ <div class="overflow-hidden">
+ <h4 class="mt-3 mb-1" itemprop="name">John DOE</h4>
+ <h6 class="mb-4">Company</h6>
+ <p>At just 13 years old, John DOE was already starting to develop his first business applications for customers. After mastering civil engineering, he founded TinyERP. This was the first phase of OpenERP which would later became Odoo, the most installed open-source business software worldwide.</p>
+ </div>
+ </section>
+
+ <div class="alert alert-info">
+ <p class="mb-0">Chamber Works reserves the right to cancel, re-name or re-locate the event or change the dates on which it is held.</p>
+ </div>
+</div>
+ </field>
+ </record>
+
+ <record id="event.event_3" model="event.event">
+ <field name="website_published" eval="True"/>
+ <field name="subtitle">Experience live music, local food and beverages.</field>
+ <field name="cover_properties">{"background-image": "url('/website_event/static/src/img/event_cover_3.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>Here it is, the 12th edition of our Live Musical Festival !</h5>
+ <p class="lead mb-3">Once again we assembled the most legendary bands in Rock history.</p>
+ <p class="lead mb-3">Bands like Bar Fighters, Led Slippers and Link Floyd will offer you the show of the century during our three day event.</p>
+ <p class="lead mb-3">This is the perfect place for spending a nice time with your friends while listening to some of the most iconic rock songs of all times!</p>
+ <p class="mb-3">For any additional information, please contact us at <a href="mailto:events@yourcompany.com">events@yourcompany.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">We reserve the right to cancel, re-name or re-locate the event or change the dates on which it is held in case the weather fails us.</p>
+ </div>
+ </div>
+ </field>
+ </record>
+
+ <record id="event.event_4" model="event.event">
+ <field name="website_published" eval="True"/>
+ <field name="subtitle">Discover how to grow a sustainable business with our experts.</field>
+ <field name="cover_properties">{"background-image": "url('/website_event/static/src/img/event_cover_4.jpg')", "resize_class": "o_record_has_cover o_half_screen_height", "opacity": "0.4"}</field>
+ </record>
+
+ <record id="event.event_5" model="event.event">
+ <field name="website_published" eval="True"/>
+ <field name="subtitle">Bring your outdoor field hockey season to the next level by taking the field at this 9th annual Field Hockey tournament.</field>
+ <field name="cover_properties">{"background-image": "url('/website_event/static/src/img/event_cover_5.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>Seasoned Hockey Fans and curious people, this tournament is for you !</h5>
+ <p class="lead mb-3">The best Hockey teams of the country will compete for the national Hockey trophy.</p>
+ <p class="lead mb-3">If you don't know anything about Hockey, this is a great introduction to this wonderful sport as you will will be able to see some training process and also have some time
+ to chat with experienced players and trainers once the tournament is over !
+ </p>
+ <p class="mb-3">For any additional information, please contact us at <a href="mailto:events@yourcompany.com">events@yourcompany.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">We reserve the right to cancel, re-name or re-locate the event or change the dates on which it is held in case the weather fails us.</p>
+ </div>
+ </div>
+ </field>
+ </record>
+
+ <record id="event.event_6" model="event.event">
+ <field name="website_published" eval="False"/>
+ <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" eval="True"/>
+ <field name="website_published" eval="True"/>
+ <field name="menu_register_cta" eval="True"/>
+ <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 comfort 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>
+
+</odoo>
diff --git a/addons/website_event/data/event_registration_demo.xml b/addons/website_event/data/event_registration_demo.xml
new file mode 100644
index 00000000..ff661e42
--- /dev/null
+++ b/addons/website_event/data/event_registration_demo.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<odoo><data>
+
+ <!-- OpenWood Collection Online Reveal: Gemini (all) -->
+ <record id="event.event_registration_7_0" model="event.registration">
+ <field name="visitor_id" ref="website_event.website_visitor_event_0"/>
+ </record>
+ <record id="event.event_registration_7_1" model="event.registration">
+ <field name="visitor_id" ref="website_event.website_visitor_event_0"/>
+ </record>
+ <record id="event.event_registration_7_2" model="event.registration">
+ <field name="visitor_id" ref="website_event.website_visitor_event_1"/>
+ </record>
+ <record id="event.event_registration_7_3" model="event.registration">
+ <field name="visitor_id" ref="website_event.website_visitor_event_1"/>
+ </record>
+
+</data></odoo>
diff --git a/addons/website_event/data/res_partner_demo.xml b/addons/website_event/data/res_partner_demo.xml
new file mode 100644
index 00000000..a6fec3a3
--- /dev/null
+++ b/addons/website_event/data/res_partner_demo.xml
@@ -0,0 +1,311 @@
+<?xml version="1.0" encoding="utf-8"?>
+<odoo>
+ <record id="base.res_partner_1" model="res.partner">
+ <field name="is_published">True</field>
+ <field name="website_short_description">Wood Corner brings honesty and seriousness to wood industry while helping customers deal with trees, flowers and fungi.</field>
+ <field name="website_description" type="html">
+<div><section class="s_text_image o_colored_level" data-snippet="s_image_text" data-name="Image - Text">
+ <div class="container">
+ <div class="row align-items-center">
+ <div class="col-lg-3 pt8 pb8 o_colored_level">
+ <img src="/web/image/website.s_image_text_default_image" class="img img-fluid mx-auto" alt=""/>
+ </div>
+ <div class="col-lg-9 pt8 pb8 o_colored_level">
+ <h2 class="o_default_snippet_text">Happy to be Sponsor</h2>
+ <p class="o_default_snippet_text">As a team, we are happy to contribute to this event.</p>
+ <p class="o_default_snippet_text">Come see us live, we hope to meet you !</p>
+ <p><a href="#" class="btn btn-primary o_default_snippet_text">Discover more</a></p>
+ </div>
+ </div>
+ </div>
+</section></div></field>
+ </record>
+
+ <record id="base.res_partner_2" model="res.partner">
+ <field name="is_published">True</field>
+ <field name="website_short_description">Deco Addict brings honesty and seriousness to wood industry while helping customers deal with trees, flowers and fungi.</field>
+ <field name="website_description" type="html">
+<div><section class="s_text_image o_colored_level" data-snippet="s_image_text" data-name="Image - Text">
+ <div class="container">
+ <div class="row align-items-center">
+ <div class="col-lg-3 pt8 pb8 o_colored_level">
+ <img src="/web/image/website.s_image_text_default_image" class="img img-fluid mx-auto" alt=""/>
+ </div>
+ <div class="col-lg-9 pt8 pb8 o_colored_level">
+ <h2 class="o_default_snippet_text">Happy to be Sponsor</h2>
+ <p class="o_default_snippet_text">As a team, we are happy to contribute to this event.</p>
+ <p class="o_default_snippet_text">Come see us live, we hope to meet you !</p>
+ <p><a href="#" class="btn btn-primary o_default_snippet_text">Discover more</a></p>
+ </div>
+ </div>
+ </div>
+</section></div></field>
+ </record>
+
+ <record id="base.res_partner_3" model="res.partner">
+ <field name="is_published">True</field>
+ <field name="website_short_description">Gemini Furniture brings honesty and seriousness to wood industry while helping customers deal with trees, flowers and fungi.</field>
+ <field name="website_description" type="html">
+<div><section class="s_text_image o_colored_level" data-snippet="s_image_text" data-name="Image - Text">
+ <div class="container">
+ <div class="row align-items-center">
+ <div class="col-lg-3 pt8 pb8 o_colored_level">
+ <img src="/web/image/website.s_image_text_default_image" class="img img-fluid mx-auto" alt=""/>
+ </div>
+ <div class="col-lg-9 pt8 pb8 o_colored_level">
+ <h2 class="o_default_snippet_text">Happy to be Sponsor</h2>
+ <p class="o_default_snippet_text">As a team, we are happy to contribute to this event.</p>
+ <p class="o_default_snippet_text">Come see us live, we hope to meet you !</p>
+ <p><a href="#" class="btn btn-primary o_default_snippet_text">Discover more</a></p>
+ </div>
+ </div>
+ </div>
+</section></div></field>
+ </record>
+
+ <record id="base.res_partner_4" model="res.partner">
+ <field name="is_published">True</field>
+ <field name="website_short_description">Ready Mat brings honesty and seriousness to wood industry while helping customers deal with trees, flowers and fungi.</field>
+ <field name="website_description" type="html">
+<div><section class="s_text_image o_colored_level" data-snippet="s_image_text" data-name="Image - Text">
+ <div class="container">
+ <div class="row align-items-center">
+ <div class="col-lg-3 pt8 pb8 o_colored_level">
+ <img src="/web/image/website.s_image_text_default_image" class="img img-fluid mx-auto" alt=""/>
+ </div>
+ <div class="col-lg-9 pt8 pb8 o_colored_level">
+ <h2 class="o_default_snippet_text">Happy to be Sponsor</h2>
+ <p class="o_default_snippet_text">As a team, we are happy to contribute to this event.</p>
+ <p class="o_default_snippet_text">Come see us live, we hope to meet you !</p>
+ <p><a href="#" class="btn btn-primary o_default_snippet_text">Discover more</a></p>
+ </div>
+ </div>
+ </div>
+</section></div></field>
+ </record>
+
+ <record id="base.res_partner_10" model="res.partner">
+ <field name="is_published">True</field>
+ <field name="website_short_description">The Jackson Group brings honesty and seriousness to wood industry while helping customers deal with trees, flowers and fungi.</field>
+ <field name="website_description" type="html">
+<div><section class="s_text_image o_colored_level" data-snippet="s_image_text" data-name="Image - Text">
+ <div class="container">
+ <div class="row align-items-center">
+ <div class="col-lg-3 pt8 pb8 o_colored_level">
+ <img src="/web/image/website.s_image_text_default_image" class="img img-fluid mx-auto" alt=""/>
+ </div>
+ <div class="col-lg-9 pt8 pb8 o_colored_level">
+ <h2 class="o_default_snippet_text">Happy to be Sponsor</h2>
+ <p class="o_default_snippet_text">As a team, we are happy to contribute to this event.</p>
+ <p class="o_default_snippet_text">Come see us live, we hope to meet you !</p>
+ <p><a href="#" class="btn btn-primary o_default_snippet_text">Discover more</a></p>
+ </div>
+ </div>
+ </div>
+</section></div></field>
+ </record>
+
+ <record id="base.res_partner_12" model="res.partner">
+ <field name="is_published">True</field>
+ <field name="website_short_description">Azure Interior brings honesty and seriousness to wood industry while helping customers deal with trees, flowers and fungi.</field>
+ <field name="website_description" type="html">
+<div><section class="s_text_image o_colored_level" data-snippet="s_image_text" data-name="Image - Text">
+ <div class="container">
+ <div class="row align-items-center">
+ <div class="col-lg-3 pt8 pb8 o_colored_level">
+ <img src="/web/image/website.s_image_text_default_image" class="img img-fluid mx-auto" alt=""/>
+ </div>
+ <div class="col-lg-9 pt8 pb8 o_colored_level">
+ <h2 class="o_default_snippet_text">Happy to be Sponsor</h2>
+ <p class="o_default_snippet_text">As a team, we are happy to contribute to this event.</p>
+ <p class="o_default_snippet_text">Come see us live, we hope to meet you !</p>
+ <p><a href="#" class="btn btn-primary o_default_snippet_text">Discover more</a></p>
+ </div>
+ </div>
+ </div>
+</section></div></field>
+ </record>
+
+ <record id="event.res_partner_event_1" model="res.partner">
+ <field name="is_published">True</field>
+ <field name="website_short_description">Bloem brings honesty and seriousness to wood industry while helping customers deal with trees, flowers and fungi.</field>
+ <field name="website_description" type="html">
+<div><section class="s_text_image o_colored_level" data-snippet="s_image_text" data-name="Image - Text">
+ <div class="container">
+ <div class="row align-items-center">
+ <div class="col-lg-3 pt8 pb8 o_colored_level">
+ <img src="/web/image/website.s_image_text_default_image" class="img img-fluid mx-auto" alt=""/>
+ </div>
+ <div class="col-lg-9 pt8 pb8 o_colored_level">
+ <h2 class="o_default_snippet_text">Happy to be Sponsor</h2>
+ <p class="o_default_snippet_text">As a team, we are happy to contribute to this event.</p>
+ <p class="o_default_snippet_text">Come see us live, we hope to meet you !</p>
+ <p><a href="#" class="btn btn-primary o_default_snippet_text">Discover more</a></p>
+ </div>
+ </div>
+ </div>
+</section></div></field>
+ </record>
+
+ <record id="event.res_partner_event_2" model="res.partner">
+ <field name="is_published">True</field>
+ <field name="website_short_description">OpenWood brings honesty and seriousness to wood industry while helping customers deal with trees, flowers and fungi.</field>
+ <field name="website_description" type="html">
+<div><section class="s_text_image o_colored_level" data-snippet="s_image_text" data-name="Image - Text">
+ <div class="container">
+ <div class="row align-items-center">
+ <div class="col-lg-3 pt8 pb8 o_colored_level">
+ <img src="/web/image/website.s_image_text_default_image" class="img img-fluid mx-auto" alt=""/>
+ </div>
+ <div class="col-lg-9 pt8 pb8 o_colored_level">
+ <h2 class="o_default_snippet_text">Happy to be Sponsor</h2>
+ <p class="o_default_snippet_text">As a team, we are happy to contribute to this event.</p>
+ <p class="o_default_snippet_text">Come see us live, we hope to meet you !</p>
+ <p><a href="#" class="btn btn-primary o_default_snippet_text">Discover more</a></p>
+ </div>
+ </div>
+ </div>
+</section></div></field>
+ </record>
+
+ <record id="event.res_partner_event_3" model="res.partner">
+ <field name="is_published">True</field>
+ <field name="website_short_description">Tree Dealers brings honesty and seriousness to wood industry while helping customers deal with trees, flowers and fungi.</field>
+ <field name="website_description" type="html">
+<div><section class="s_text_image o_colored_level" data-snippet="s_image_text" data-name="Image - Text">
+ <div class="container">
+ <div class="row align-items-center">
+ <div class="col-lg-3 pt8 pb8 o_colored_level">
+ <img src="/web/image/website.s_image_text_default_image" class="img img-fluid mx-auto" alt=""/>
+ </div>
+ <div class="col-lg-9 pt8 pb8 o_colored_level">
+ <h2 class="o_default_snippet_text">Happy to be Sponsor</h2>
+ <p class="o_default_snippet_text">As a team, we are happy to contribute to this event.</p>
+ <p class="o_default_snippet_text">Come see us live, we hope to meet you !</p>
+ <p><a href="#" class="btn btn-primary o_default_snippet_text">Discover more</a></p>
+ </div>
+ </div>
+ </div>
+</section></div></field>
+ </record>
+
+ <record id="event.res_partner_event_4" model="res.partner">
+ <field name="is_published">True</field>
+ <field name="website_short_description">Shangai Pterocarpus Furniture brings honesty and seriousness to wood industry while helping customers deal with trees, flowers and fungi.</field>
+ <field name="website_description" type="html">
+<div><section class="s_text_image o_colored_level" data-snippet="s_image_text" data-name="Image - Text">
+ <div class="container">
+ <div class="row align-items-center">
+ <div class="col-lg-3 pt8 pb8 o_colored_level">
+ <img src="/web/image/website.s_image_text_default_image" class="img img-fluid mx-auto" alt=""/>
+ </div>
+ <div class="col-lg-9 pt8 pb8 o_colored_level">
+ <h2 class="o_default_snippet_text">Happy to be Sponsor</h2>
+ <p class="o_default_snippet_text">As a team, we are happy to contribute to this event.</p>
+ <p class="o_default_snippet_text">Come see us live, we hope to meet you !</p>
+ <p><a href="#" class="btn btn-primary o_default_snippet_text">Discover more</a></p>
+ </div>
+ </div>
+ </div>
+</section></div></field>
+ </record>
+
+ <!-- 15-16-28: children of 12 (Azure Interior) -->
+ <record id="base.res_partner_address_15" model="res.partner">
+ <field name="is_published" eval="True"/>
+ <field name="website">http://azure.example.com</field>
+ <field name="website_description" type="xml">
+ <p>
+ Brandon works in IT sector <b>since 10 years</b>. He is known
+ notably for selling mouse traps. With that trick he cut
+ IT budget by almost half within the last 2 years.
+ </p>
+ </field>
+ </record>
+ <record id="base.res_partner_address_16" model="res.partner">
+ <field name="is_published" eval="True"/>
+ <field name="website">http://azure.example.com</field>
+ <field name="website_description" type="xml">
+ <p>
+ Nicole works in IT sector <b>since 20 years</b>. She
+ develops software to help develop websites. She sold her
+ first company at 30 years old and manage to grow Azure Interior
+ from 1 to 55 employees mostly by reselling services on
+ Odoo.
+ </p><p>
+ Nicole is <b>author of several books</b>, including Amazon best seller
+ "How Azure and Odoo will change the business world!".
+ </p>
+ </field>
+ </record>
+ <record id="base.res_partner_address_28" model="res.partner">
+ <field name="is_published" eval="True"/>
+ <field name="website">http://azure.example.com</field>
+ <field name="website_description" type="xml">
+ <p>
+ Colleen Diaz works in IT sector <b>since 10 years</b>. He is known
+ notably for selling mouse traps. With that trick he cut
+ IT budget by almost half within the last 2 years.
+ </p>
+ </field>
+ </record>
+
+ <!-- 17-18: children of 10 (Jackson Group) -->
+ <record id="base.res_partner_address_17" model="res.partner">
+ <field name="is_published" eval="True"/>
+ <field name="website">http://jackson.group.example.com</field>
+ <field name="website_description" type="xml">
+ <p>
+ Toni Rhodes works in IT sector <b>since 10 years</b>. He is known
+ notably for selling mouse traps. With that trick he cut
+ IT budget by almost half within the last 2 years.
+ Famous Managing Partner.
+ </p>
+ </field>
+ </record>
+ <record id="base.res_partner_address_18" model="res.partner">
+ <field name="is_published" eval="True"/>
+ <field name="website">http://jackson.group.example.com</field>
+ <field name="website_description" type="xml">
+ <p>
+ Gordon Owens works in IT sector <b>since 10 years</b>. He is known
+ notably for selling mouse traps. With that trick he cut
+ IT budget by almost half within the last 2 years.
+ Famous Senior Consultant.
+ </p>
+ </field>
+ </record>
+
+ <!-- 3-4-31: children of 2 (Deco Addict) -->
+ <record id="base.res_partner_address_3" model="res.partner">
+ <field name="is_published">True</field>
+ <field name="website_short_description">Douglas Fletcher is a mighty functional consultant at Deco Addict</field>
+ <field name="website_description" type="html">
+<p>
+ Douglas Fletcher works in IT sector <b>since 10 years</b>. He is known
+ notably for selling mouse traps. With that trick he cut
+ IT budget by almost half within the last 2 years.
+</p></field>
+ </record>
+ <record id="base.res_partner_address_4" model="res.partner">
+ <field name="is_published">True</field>
+ <field name="website_short_description">Floyd Steward is a mighty analyst at Deco Addict.</field>
+ <field name="website_description" type="html">
+<p>
+ Floyd Steward works in IT sector <b>since 10 years</b>. He is known
+ notably for selling mouse traps. With that trick he cut
+ IT budget by almost half within the last 2 years.
+</p></field>
+ </record>
+ <record id="base.res_partner_address_31" model="res.partner">
+ <field name="is_published">True</field>
+ <field name="website_short_description">Addison Olson is a mighty sales representative at Deco Addict.</field>
+ <field name="website_description" type="html">
+<p>
+ Addison Olson works in IT sector <b>since 10 years</b>. He is known
+ notably for selling mouse traps. With that trick he cut
+ IT budget by almost half within the last 2 years.
+</p></field>
+ </record>
+
+</odoo>
diff --git a/addons/website_event/data/website_visitor_demo.xml b/addons/website_event/data/website_visitor_demo.xml
new file mode 100644
index 00000000..8403ae7f
--- /dev/null
+++ b/addons/website_event/data/website_visitor_demo.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<odoo>
+
+ <record id="website_visitor_event_0" model="website.visitor">
+ <field name="name">Edwin Hansen</field>
+ <field name="partner_id" ref="base.res_partner_address_5"/>
+ <field name="country_id" ref="base.us"/>
+ </record>
+ <record id="website_visitor_event_1" model="website.visitor">
+ <field name="name">Soham Palmer</field>
+ <field name="partner_id" ref="base.res_partner_address_11"/>
+ <field name="country_id" ref="base.us"/>
+ </record>
+ <record id="website_visitor_event_2" model="website.visitor">
+ <field name="name">Philipe J. Fry</field>
+ <field name="partner_id" eval="False"/>
+ <field name="country_id" ref="base.be"/>
+ </record>
+ <record id="website_visitor_event_2_1" model="website.visitor">
+ <field name="name">Philipe J. Fry (old)</field>
+ <field name="parent_id" ref="website_event.website_visitor_event_2"/>
+ <field name="partner_id" eval="False"/>
+ <field name="country_id" ref="base.be"/>
+ </record>
+
+</odoo>