Coworking/coworking_app/data/coworking_app_demo.xml

103 lines
4.0 KiB
XML
Raw Normal View History

<?xml version="1.0"?>
<odoo>
2017-11-29 16:50:09 +01:00
<!-- Coworker -->
<record id="name_hs" model="res.partner">
<field name="name">Homer Simpson</field>
<field name="contact_date">2017-11-27</field>
<field name="is_coworker">True</field>
<field name="coworker_type">worker</field>
<field name="street">320 Rue de la pioche</field>
<field name="zip">88000</field>
<field name="city">Flousin</field>
<field name="country_id" ref="base.fr" />
</record>
<record id="name_jr" model="res.partner">
<field name="name">Joe Robert</field>
<field name="contact_date">2017-11-29</field>
<field name="is_coworker">True</field>
<field name="coworker_type">staffer</field>
<field name="street">26 Rue de la roche</field>
<field name="zip">38054</field>
<field name="city">Chambéry</field>
<field name="country_id" ref="base.fr" />
</record>
<record id="name_ra" model="res.partner">
<field name="name">Rob Altros</field>
<field name="contact_date">2017-11-29</field>
<field name="is_coworker">True</field>
<field name="coworker_type">member</field>
<field name="street">874 avenue de la source</field>
<field name="zip">38054</field>
<field name="city">Grosland</field>
<field name="country_id" ref="base.fr" />
</record>
<record id="name_so" model="res.partner">
<field name="name">Sophie Lira</field>
<field name="contact_date">2017-11-29</field>
<field name="is_coworker">True</field>
<field name="coworker_type">volunteer</field>
<field name="street">2 avenue chirolin</field>
<field name="zip">38054</field>
<field name="city">Grosland</field>
<field name="country_id" ref="base.fr" />
</record>
<record id="name_cb" model="res.partner">
<field name="name">Camille Bréa</field>
<field name="contact_date">2017-11-29</field>
<field name="is_coworker">True</field>
<field name="coworker_type">visitor</field>
<field name="street">6 Impase des monts</field>
<field name="zip">00254</field>
<field name="city">Grosland</field>
<field name="country_id" ref="base.fr" />
</record>
2017-11-29 17:14:37 +01:00
<!-- Events -->
<record id="event_1" model="coworking.event">
<field name="title">Evenement</field>
<field name="manager_id" ref="name_hs" />
<field name="date_start">2017-11-29</field>
<field name="date_end">2017-12-02</field>
<field name="description">Test de demo création d'event</field>
<field name="participants_ids" eval="[(4, ref('name_jr'), False)]"/>
<field name="statut">confirmed</field>
</record>
2017-11-29 16:50:09 +01:00
<record id="event_2" model="coworking.event">
<field name="title">Formation</field>
<field name="manager_id" ref="name_cb" />
<field name="date_start">2017-11-29</field>
<field name="date_end">2017-11-30</field>
<field name="description">Test de demo création d'event</field>
<field name="participants_ids" eval="[(4, ref('name_hs'), False)]"/>
<field name="statut">confirmed</field>
</record>
<record id="event_3" model="coworking.event">
<field name="title">Cuisine</field>
<field name="manager_id" ref="name_so" />
<field name="date_start">2017-11-29</field>
<field name="date_end">2017-11-30</field>
<field name="description">Test de demo création d'event</field>
<field name="participants_ids" eval="[(4, ref('name_ra'), False)]"/>
<field name="statut">confirmed</field>
</record>
<record id="event_4" model="coworking.event">
<field name="title">Méditation</field>
<field name="manager_id" ref="name_so" />
<field name="date_start">2017-12-05</field>
<field name="date_end">2017-12-10</field>
<field name="description">Test de demo création d'event</field>
2017-11-29 17:04:42 +01:00
<field name="participants_ids" eval="[(6, 0, [ref('name_hs'),
ref('name_ra'), ref('name_cb')])]" />
2017-11-29 16:50:09 +01:00
<field name="statut">confirmed</field>
</record>
2017-11-29 17:14:37 +01:00
<!-- relations -->
<record id="rela_1" model="coworking.relation">
<field name="coworker1" eval="[(4, ref('name_jr'), False)]" />
<field name="coworker2" ref="name_hs" />
<field name="relation">Ami</field>
</record>
</odoo>