147 lines
5.7 KiB
XML
147 lines
5.7 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<odoo>
|
|
<!-- 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>
|
|
|
|
<!-- 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>
|
|
<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>
|
|
<field name="participants_ids" eval="[(6, 0, [ref('name_hs'),
|
|
ref('name_ra'), ref('name_cb')])]" />
|
|
<field name="statut">confirmed</field>
|
|
</record>
|
|
|
|
<!-- relations -->
|
|
<record id="rela_1" model="coworking.relation">
|
|
<field name="coworker1" ref="name_so" />
|
|
<field name="coworker2" ref="name_hs" />
|
|
<field name="relation">Soeur</field>
|
|
</record>
|
|
<record id="rela_2" model="coworking.relation">
|
|
<field name="coworker1" ref="name_hs" />
|
|
<field name="coworker2" ref="name_so" />
|
|
<field name="relation">Frére</field>
|
|
</record>
|
|
<record id="rela_3" model="coworking.relation">
|
|
<field name="coworker1" ref="name_cb" />
|
|
<field name="coworker2" ref="name_ra" />
|
|
<field name="relation">Père</field>
|
|
</record>
|
|
<record id="rela_4" model="coworking.relation">
|
|
<field name="coworker1" ref="name_ra" />
|
|
<field name="coworker2" ref="name_cb" />
|
|
<field name="relation">Mère</field>
|
|
</record>
|
|
<record id="rela_5" model="coworking.relation">
|
|
<field name="coworker1" ref="name_hs" />
|
|
<field name="coworker2" ref="name_ra" />
|
|
<field name="relation">Donuts</field>
|
|
</record>
|
|
<record id="rela_6" model="coworking.relation">
|
|
<field name="coworker1" ref="name_ra" />
|
|
<field name="coworker2" ref="name_hs" />
|
|
<field name="relation">Psy</field>
|
|
</record>
|
|
<record id="rela_7" model="coworking.relation">
|
|
<field name="coworker1" ref="name_jr" />
|
|
<field name="coworker2" ref="name_hs" />
|
|
<field name="relation">Ami</field>
|
|
</record>
|
|
<record id="rela_8" model="coworking.relation">
|
|
<field name="coworker1" ref="name_so" />
|
|
<field name="coworker2" ref="name_jr" />
|
|
<field name="relation">Ami</field>
|
|
</record>
|
|
<record id="rela_9" model="coworking.relation">
|
|
<field name="coworker1" ref="name_jr" />
|
|
<field name="coworker2" ref="name_ra" />
|
|
<field name="relation">Cousin</field>
|
|
</record>
|
|
<record id="rela_10" model="coworking.relation">
|
|
<field name="coworker1" ref="name_ra" />
|
|
<field name="coworker2" ref="name_jr" />
|
|
<field name="relation">Cousine</field>
|
|
</record>
|
|
</odoo>
|