flectra/addons/event_sale/data/event_demo.xml
2018-01-16 02:34:37 -08:00

217 lines
10 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<flectra>
<record id="event_0_product" model="product.product">
<field name="name">Open Days in Los Angeles</field>
<field name="event_ok">True</field>
<field name="categ_id" ref="product.product_category_1"/>
<field name="type">service</field>
<field name="list_price">2500.0</field>
<field name="standard_price">1000.0</field>
<field name="uom_id" ref="product.product_uom_unit"/>
<field name="uom_po_id" ref="product.product_uom_unit"/>
<field name="image" type="base64" file="event_sale/static/img/event_product-image.jpg"/>
</record>
<record id="event_1_product" model="product.product">
<field name="name">Functional Webinar</field>
<field name="event_ok">True</field>
<field name="categ_id" ref="product.product_category_1"/>
<field name="type">service</field>
<field name="list_price">2500.0</field>
<field name="standard_price">1000.0</field>
<field name="uom_id" ref="product.product_uom_unit"/>
<field name="uom_po_id" ref="product.product_uom_unit"/>
<field name="image" type="base64" file="event_sale/static/img/event_product-image.jpg"/>
</record>
<record id="event_2_product" model="product.product">
<field name="name">Conference on Business Applications</field>
<field name="event_ok">True</field>
<field name="categ_id" ref="product.product_category_1"/>
<field name="type">service</field>
<field name="list_price">2500.0</field>
<field name="standard_price">1000.0</field>
<field name="uom_id" ref="product.product_uom_unit"/>
<field name="uom_po_id" ref="product.product_uom_unit"/>
<field name="image" type="base64" file="event_sale/static/img/event_product-image.jpg"/>
</record>
<record id="event.event_3" model="event.event">
<field name="organizer_id" ref="base.res_partner_address_4"/>
</record>
<record id="event_3_product" model="product.product">
<field name="name">Technical Training</field>
<field name="event_ok">True</field>
<field name="categ_id" ref="product.product_category_1"/>
<field name="type">service</field>
<field name="list_price">2500.0</field>
<field name="standard_price">1000.0</field>
<field name="uom_id" ref="product.product_uom_unit"/>
<field name="uom_po_id" ref="product.product_uom_unit"/>
<field name="image" type="base64" file="event_sale/static/img/event_product-image.jpg"/>
</record>
<record id="event_0_ticket_1" model="event.event.ticket">
<field name="name">Standard</field>
<field name="event_id" ref="event.event_0"/>
<field name="product_id" ref="event_0_product"/>
<field name="deadline" eval="(DateTime.today() + timedelta(90)).strftime('%Y-%m-%d')"/>
<field name="price">1000.0</field>
<field name="seats_max">50</field>
</record>
<record id="event_0_ticket_2" model="event.event.ticket">
<field name="name">VIP</field>
<field name="event_id" ref="event.event_0"/>
<field name="product_id" ref="event_0_product"/>
<field name="deadline" eval="(DateTime.today() + timedelta(60)).strftime('%Y-%m-%d')"/>
<field name="price">1500.0</field>
<field name="seats_max">10</field>
</record>
<record id="event_1_ticket_1" model="event.event.ticket">
<field name="name">Standard</field>
<field name="event_id" ref="event.event_1"/>
<field name="product_id" ref="event_1_product"/>
<field name="deadline" eval="(DateTime.today() + timedelta(90)).strftime('%Y-%m-%d')"/>
<field name="price">1000.0</field>
<field name="seats_max">60</field>
</record>
<record id="event_2_ticket_1" model="event.event.ticket">
<field name="name">Standard</field>
<field name="event_id" ref="event.event_2"/>
<field name="product_id" ref="event_2_product"/>
<field name="deadline" eval="(DateTime.today() + timedelta(90)).strftime('%Y-%m-%d')"/>
<field name="price">1000.0</field>
<field name="seats_max">50</field>
</record>
<record id="event_2_ticket_2" model="event.event.ticket">
<field name="name">VIP</field>
<field name="event_id" ref="event.event_2"/>
<field name="product_id" ref="event_2_product"/>
<field name="deadline" eval="(DateTime.today() + timedelta(60)).strftime('%Y-%m-%d')"/>
<field name="price">1500.0</field>
<field name="seats_max">5</field>
</record>
<record id="event_3_ticket_1" model="event.event.ticket">
<field name="name">Standard</field>
<field name="event_id" ref="event.event_3"/>
<field name="product_id" ref="event_3_product"/>
<field name="deadline" eval="(DateTime.today() + timedelta(90)).strftime('%Y-%m-%d')"/>
<field name="price">1000.0</field>
<field name="seats_max">20</field>
</record>
<record id="event_3_ticket_2" model="event.event.ticket">
<field name="name">VIP</field>
<field name="event_id" ref="event.event_3"/>
<field name="product_id" ref="event_3_product"/>
<field name="deadline" eval="(DateTime.today() + timedelta(60)).strftime('%Y-%m-%d')"/>
<field name="price">1500.0</field>
<field name="seats_max">5</field>
</record>
<record id="event.event_1" model="event.event">
<field name="badge_back"><![CDATA[
<h2>Program</h2>
<div><strong>Registrations</strong><small> are from 8:30 am, except on Friday from 9:00 am</small></div>
<div>
<strong>Lunch</strong><small> is served between 1:00 pm and 2:00 pm.</small>
</div>
<h2>Special Events</h2>
<table style="border: 1px solid black;">
<tr style="border: 1px solid black;">
<td class="text-center" width="15%"><strong>4/6</strong></td>
<td class="text-center" width="25%"><strong>19h00</strong></td>
<td><small>Barbecue Beer Event</small></td>
</tr>
<tr>
<td class="text-center"><strong>5/6</strong></td>
<td class="text-center"><strong>18h30</strong></td>
<td><small>Flectra Awards Ceremony</small></td>
</tr>
</table>
<br/>
<div class="row">
<div class="col-xs-5">
<p>
<i class="fa fa-twitter"/> #OpenDays
</p>
</div>
<div class="col-xs-6">
<div class="small">Wifi network: opendays</div>
<div class="small">Wifi password: flectra2014</div>
</div>
</div>
<div class="row">
<small class="col-xs-3" style="float: left; padding-right: 0px; padding-left: 0px;">sponsored by</small>
<div class="col-xs-2" style="padding-right: 0px; padding-left: 0px;">
<span>
<img class="img img-responsive" src="/base/static/img/logo_white.png"/>
</span>
</div>
</div>
]]></field>
<field name="badge_innerleft"><![CDATA[
<h2>Premium Tickets</h2>
<table class="text-center">
<tr>
<td width="10%"></td>
<td width="10%" style="height:45px; width:110px; border-radius: 90px 90px 0 0; -moz-border-radius: 90px 90px 0 0; -webkit-border-radius: 90px 90px 0 0; background:lightgrey; text-align: -webkit-center; padding-top: 10px;"><div>Full</div><div> Catering</div></td>
<td width="5%"></td>
<td width="10%" style="height:45px; width:110px; border-radius: 90px 90px 0 0; -moz-border-radius: 90px 90px 0 0; -webkit-border-radius: 90px 90px 0 0; background:lightgrey; text-align: -webkit-center; padding-top: 10px;"><div>BBQ &amp;</div><div>Beer Event</div></td>
<td width="5%"></td>
<td width="10%" style="height:45px; width:110px; border-radius: 90px 90px 0 0; -moz-border-radius: 90px 90px 0 0; -webkit-border-radius: 90px 90px 0 0; background:lightgrey; text-align: -webkit-center; padding-top: 10px;"><div>Awards &amp;</div> <div>Walking</div><div> Dinner</div></td>
<td width="10%"></td>
</tr>
<tr style="background:lightgrey; height: 15px;">
<td colspan="7"></td>
</tr>
<tr style="background:lightgrey; height: 35px;">
<td></td>
<td>Every Day</td>
<td colspan="3">June 4th</td>
<td>June 5th</td>
<td></td>
</tr>
</table>
<br/><br/>
<h2>Free Tickets</h2>
<table class="text-center">
<tr>
<td width="10%"></td>
<td width="10%" style="height:45px; width:110px; border-radius: 90px 90px 0 0; -moz-border-radius: 90px 90px 0 0; -webkit-border-radius: 90px 90px 0 0; background:lightgrey; text-align: -webkit-center; padding-top: 10px;"><div>Drinks</div></td>
<td width="5%"></td>
<td width="10%" style="height:45px; width:110px; border-radius: 90px 90px 0 0; -moz-border-radius: 90px 90px 0 0; -webkit-border-radius: 90px 90px 0 0; background:lightgrey; text-align: -webkit-center; padding-top: 10px;"><div>Premium</div><div>Ticket</div><div>onsite</div></td>
<td width="25%"></td>
</tr>
<tr style="background:lightgrey; height: 15px;">
<td colspan="5"></td>
</tr>
<tr style="background:lightgrey; height: 35px;">
<td></td>
<td>Every Day</td>
<td></td>
<td>60 €/day<div>30 €/Friday</div></td>
<td></td>
</tr>
</table>
]]></field>
<field name="badge_innerright"><![CDATA[
<div>
<h2>Exhibition Hall</h2>
</div>
<div>
Picture of the exhibition hall
</div>
]]></field>
</record>
</flectra>