création des coworkers OK mais probléme sur les events.

This commit is contained in:
michel 2017-11-29 14:28:37 +01:00
parent 1c46c0f04e
commit aaca3b3db1

View File

@ -1,15 +1,66 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<odoo> <odoo>
<record id="res_partner_coworker" model="res.partner"> <record id="name_hs" model="res.partner">
<field name="name">Coworker demo</field> <field name="name">Homer Simpson</field>
<field name="city">Chambéry</field> <field name="contact_date">2017-11-27</field>
<field name="country_id" ref="base.fr" /> <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>
<record id="view_form_event" model="coworking.event">
<field name="title">Evenement</field>
<field name="manager_id">Homer Simpson</field>
<field name="date_start">2017-11-29</field>
<field name="date_end">2017-12-02</field>
<field name="description">Test de demon création d'event </field>
<field name="participants_ids">Joe Robert</field>
</record>
<record id="name_jr" model="res.partner"> <record id="name_jr" model="res.partner">
<field name="name">Joe Robert</field> <field name="name">Joe Robert</field>
<field name="contact_date">2017-11-29</field> <field name="contact_date">2017-11-29</field>
<field name="is_coworker">True</field> <field name="is_coworker">True</field>
<field name="coworker_type">staffer</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> </record>
</odoo> </odoo>