[IMP]added event description and improved code.

bzr revid: ishwarmalvi13@gmail.com-20130923125835-j18ge3q2bmaj0jvl
This commit is contained in:
ima-openerp 2013-09-23 18:28:35 +05:30
parent 3f750aa42c
commit e70f0cdf3a
3 changed files with 108 additions and 8 deletions

View File

@ -45,8 +45,8 @@
<!-- Demo data for Event -->
<record id="event_0" model="event.event">
<field name="name">Open Days in Los Angeles</field>
<field eval="time.strftime('%Y-%m-01 19:05:15')" name="date_begin"/>
<field eval="time.strftime('%Y-%m-01 23:05:15')" name="date_end"/>
<field eval="time.strftime('%Y-%m-03 7:05:15')" name="date_begin"/>
<field eval="time.strftime('%Y-%m-05 16:05:15')" name="date_end"/>
<field name="register_max">500</field>
<field name="address_id" ref="res_partner_24"/>
<field name="type" ref="event_type_1"/>
@ -54,18 +54,19 @@
<record id="event_1" model="event.event">
<field name="name">Functional Webinar</field>
<field eval="(DateTime.today()+ timedelta(days=1)).strftime('%Y-%m-%d 18:00:00')" name="date_begin"/>
<field eval="(DateTime.today()+ timedelta(days=2)).strftime('%Y-%m-%d 21:00:00')" name="date_end"/>
<field eval="(DateTime.now() + timedelta(days=1)).strftime('%Y-%m-%d 7:00:00')" name="date_begin"/>
<field eval="(DateTime.now() + timedelta(days=1)).strftime('%Y-%m-%d 11:00:00')" name="date_end"/>
<field name="type" ref="event_type_0"/>
<field name="address_id" ref="base.res_partner_5"/>
<field name="register_max">350</field>
</record>
<record id="event_2" model="event.event">
<field name="name">Conference on ERP Business Applications</field>
<field eval="(DateTime.today()+ timedelta(days=2)).strftime('%Y-%m-%d 14:00:00')" name="date_begin"/>
<field eval="(DateTime.today()+ timedelta(days=2)).strftime('%Y-%m-%d 16:30:00')" name="date_end"/>
<field name="name">Conference on Business Applications</field>
<field eval="(DateTime.today()+ timedelta(days=1)).strftime('%Y-%m-%d 7:00:00')" name="date_begin"/>
<field eval="(DateTime.today()+ timedelta(days=1)).strftime('%Y-%m-%d 16:30:00')" name="date_end"/>
<field name="type" ref="event_type_2"/>
<field name="address_id" ref="base.res_partner_14"/>
<field name="register_max">200</field>
</record>
<function model="event.event" name="button_confirm" eval="[ref('event_2')]"/>

View File

@ -120,7 +120,7 @@ class event_event(osv.osv):
'website_published': fields.boolean('Available in the website'),
'description_website': fields.html('Description for the website'),
'event_ticket_ids': fields.one2many('event.event.ticket', "event_id", "Event Ticket"),
'organizer_id': fields.many2one('res.partner', "Orgonizer"),
'organizer_id': fields.many2one('res.partner', "Organizer"),
'phone': fields.related('organizer_id', 'phone', type='char', string='Phone'),
'email': fields.related('organizer_id', 'email', type='char', string='Email'),
'register_max': fields.function(_get_register_max,

View File

@ -51,5 +51,104 @@
]]></field>
</record>
<record id="event.event_0" model="event.event">
<field name="website_published">True</field>
<field name="description_website"><![CDATA[
<center><strong>Join us to our main event of the year, the OpenERP Open Days</strong> (now in Los Angeles) </center>
<p>&nbsp;</p>
<p>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.... 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 8!
</p>
<p>This event and all the conferences are in english!</p>
<p>&nbsp;</p>
<p><strong>What's new for this year?</strong></p>
<ul>
<li>The Open Days are preceded by 2 days of optional training sessions for experts! We propose 3 different training sessions, 2 days each.</li>
<li>The whole event is open to all public! We ask a participation fee of 49.50€ for the costs for the 3 days (morning coffee, coffee breaks, drinks, sandwiches for lunch and the surprising beer party of Wednesday evening) but it's optional. For those who do not want to contribute, there is a free ticket, therefore, catering is not inclued.</li>
<li>The plenary sessions in the morning will be shorter and we will give more time for thematical meetings, conferences, workshops and tutorial sessions in the afternoon.</li>
</ul>
<p>&nbsp;</p>
<p><strong>Program:</strong></p>
<p>Conferences, workshops and trainings will be organized in 6 rooms:</p>
<ul>
<li>2 technical rooms: one dedicated to advanced OpenERP developers, one for new developers.</li>
<li>2 technical rooms: one dedicated to advanced OpenERP developers, one for new developers.</li>
<li>1 business room: to discuss implementation methodologies, best sales practices, etc.</li>
<li>1 workshop room: mainly for developers.</li>
</ul>
<p><em>If you wish to make a presentation, please send your topic proposal as soon as possible for approval to Mrs. Nicoleta Gherlea at ngh (a) openerp (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>
<p>&nbsp;</p>
<p><strong>Where to find us:</strong></p>
<p>Epix Technosoft Los Angeles, CA 90001 (United States)</p>
<p>For any additional information, please contact us at <a href="mailto:events@openerp.com">events@openerp.com</a>.</p>
<p>&nbsp;</p>
<p>Best regards,</p>
<p>Miss Charline Louis, OpenERP Junior Event Manager</p>
<p>&nbsp;</p>
<p align="RIGHT"><em>(OpenERP reserves the right to cancel, re-name or re-locate<br/>the event or change the dates on which it is held.)</em></p>
]]></field>
</record>
<record id="event.event_1" model="event.event">
<field name="website_published">True</field>
<field name="description_website"><![CDATA[
<center><strong>Functional Webinar</strong></center>
<p>&nbsp;</p>
<p>Webinars are online demonstrations where one of our team members explains the main features and benefits of OpenERP Online through an online conference. We can therefore directly answer any questions you may have through a Q&A.</p>
<p>Each session lasts approximately one hour and is free, we just ask you to register to receive access codes.</p>
<p>&nbsp;</p>
<p><strong>Objective:</strong></p>
<p>These webinars allow companies interested in OpenERP, to assess whether the solution meets their needs, and can adapt to the scope of their project.</p>
<p>This webinar helps participants to:
<ul>
<li>Discover how to navigate in OpenERP;</li>
<li>View full flow: purchasing, sales, project management, accounting;</li>
<li>Ask your questions to our expert;</li>
<li>Assess whether OpenERP meets your expectations;</li>
</ul>
<p>&nbsp;</p>
<p>After registering, you will receive a link and password by email before the start of the session. If you have a problem to connect, please contact us at <a href="mailto:events@openerp.com">events@openerp.com</a>.</p>
<p>&nbsp;</p>
<p>We are looking forward to meeting you online,</p>
<p>Best regards,</p>
<p>Miss Charline Louis, OpenERP Junior Event Manager</p>
<p>&nbsp;</p>
<p align="RIGHT"><em>(OpenERP reserves the right to cancel, re-name or re-locate<br/>the event or change the dates on which it is held.)</em></p>
]]></field>
</record>
<record id="event.event_2" model="event.event">
<field name="website_published">True</field>
<field name="description_website"><![CDATA[
<center><strong>Conference on Business Applications</strong></center>
<p>&nbsp;</p>
<p> During this conference, OpenERP team will give a detailed overview of OpenERP business applications. Youll know all the benefits of using an OpenERP Business Applications.</p>
<p>&nbsp;</p>
<p><strong>Objectives:</strong></p>
<p>Having attended this conference, participants should be able to:</p>
<ul>
<li>Understand the various OpenERP modules;</li>
<li>Functional flow of OpenERP Applications;</li>
</ul>
<p>&nbsp;</p>
<p><strong>Program:</strong></p>
<ul>
<li>Introduction, CRM, Sales Management</li>
<li>Purchase, Sales & Purchase management, Financial accounting.</li>
<li>Project management, Human resources, Contract management.</li>
<li>Warehouse management, Manufacturing (MRP) & Sales, Import/Export.</li>
<li>Point of Sale (POS), Introduction to report customization.</li>
</ul>
<p>&nbsp;</p>
<p><strong>Where to find us:</strong></p>
<p>Chamber Works 60, Rosewood Court Detroit, MI 48212 (United States)</p>
<p>For any additional information, please contact us at <a href="mailto:events@openerp.com">events@openerp.com</a>.</p>
<p>&nbsp;</p>
<p>Best regards,</p>
<p>Miss Charline Louis, OpenERP Junior Event Manager</p>
<p>&nbsp;</p>
<p align="RIGHT"><em>(OpenERP reserves the right to cancel, re-name or re-locate<br/>the event or change the dates on which it is held.)</em></p>
]]></field>
</record>
</data>
</openerp>