Elouan Le Bars
5 years ago
4 changed files with 0 additions and 232 deletions
-
5beesdoo_shift/__openerp__.py
-
107beesdoo_shift/demo/templates.xml
-
37beesdoo_shift/demo/users.xml
-
83beesdoo_shift/demo/workers.xml
@ -1,107 +0,0 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- |
|||
Copyright 2019 Coop IT Easy |
|||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). |
|||
--> |
|||
<odoo> |
|||
|
|||
<record id="beesdoo_shift_task_type_1_demo" model="beesdoo.shift.type"> |
|||
<field name="name">Inventaire</field> |
|||
<field name="description">Inventaire frais et vrac.</field> |
|||
</record> |
|||
|
|||
<record id="beesdoo_shift_task_type_2_demo" model="beesdoo.shift.type"> |
|||
<field name="name">Bureau des Membres</field> |
|||
<field name="description">Gestion admin (encodage liste présences, etc.)</field> |
|||
</record> |
|||
|
|||
<record id="beesdoo_shift_task_type_3_demo" model="beesdoo.shift.type"> |
|||
<field name="name">Magasin</field> |
|||
<field name="description">Gestion du magasin.</field> |
|||
</record> |
|||
|
|||
<record id="beesdoo_shift_task_type_4_demo" model="beesdoo.shift.type"> |
|||
<field name="name">Découpe fromage</field> |
|||
<field name="description">Caisse, remplissage des rayons, accueil.</field> |
|||
</record> |
|||
|
|||
<record id="beesdoo_shift_daynumber_1_demo" model="beesdoo.shift.daynumber"> |
|||
<field name="name">Lundi</field> |
|||
<field name="number">1</field> |
|||
</record> |
|||
|
|||
<record id="beesdoo_shift_daynumber_2_demo" model="beesdoo.shift.daynumber"> |
|||
<field name="name">Mardi</field> |
|||
<field name="number">2</field> |
|||
</record> |
|||
|
|||
<record id="beesdoo_shift_daynumber_3_demo" model="beesdoo.shift.daynumber"> |
|||
<field name="name">Mercredi</field> |
|||
<field name="number">3</field> |
|||
</record> |
|||
|
|||
<record id="beesdoo_shift_daynumber_4_demo" model="beesdoo.shift.daynumber"> |
|||
<field name="name">Jeudi</field> |
|||
<field name="number">4</field> |
|||
</record> |
|||
|
|||
<record id="beesdoo_shift_daynumber_5_demo" model="beesdoo.shift.daynumber"> |
|||
<field name="name">Vendredi</field> |
|||
<field name="number">5</field> |
|||
</record> |
|||
|
|||
<record id="beesdoo_shift_daynumber_6_demo" model="beesdoo.shift.daynumber"> |
|||
<field name="name">Samedi</field> |
|||
<field name="number">6</field> |
|||
</record> |
|||
|
|||
<record id="beesdoo_shift_daynumber_7_demo" model="beesdoo.shift.daynumber"> |
|||
<field name="name">Dimanche</field> |
|||
<field name="number">7</field> |
|||
</record> |
|||
|
|||
<record id="beesdoo_shift_planning_1_demo" model="beesdoo.shift.planning"> |
|||
<field name="sequence">1</field> |
|||
<field name="name">Semaine A</field> |
|||
</record> |
|||
|
|||
<record id="beesdoo_shift_task_template_1_demo" model="beesdoo.shift.template"> |
|||
<field name="name">A_LUN_7:00-9:30</field> |
|||
<field name="planning_id" ref="beesdoo_shift_planning_1_demo" /> |
|||
<field name="day_nb_id" ref="beesdoo_shift_daynumber_1_demo" /> |
|||
<field name="task_type_id" ref="beesdoo_shift_task_type_3_demo" /> |
|||
<field name="start_time">7</field> |
|||
<field name="end_time">9.5</field> |
|||
<field name="duration">2.5</field> |
|||
<field name="worker_nb">12</field> |
|||
<!-- WARNING: issue, worker not registered in demo --> |
|||
<field name="worker_ids" eval="[(6, 0, [ref('easy_my_coop.res_partner_cooperator_1_demo')])]"/> |
|||
</record> |
|||
|
|||
<record id="beesdoo_shift_task_template_2_demo" model="beesdoo.shift.template"> |
|||
<field name="name">A_MAR_12:00-14:30</field> |
|||
<field name="planning_id" ref="beesdoo_shift_planning_1_demo" /> |
|||
<field name="day_nb_id" ref="beesdoo_shift_daynumber_1_demo" /> |
|||
<field name="task_type_id" ref="beesdoo_shift_task_type_3_demo" /> |
|||
<field name="start_time">12</field> |
|||
<field name="end_time">14.5</field> |
|||
<field name="duration">2.5</field> |
|||
<field name="worker_nb">9</field> |
|||
<!-- WARNING: issue, worker not registered in demo --> |
|||
<field name="worker_ids" eval="[(6, 0, [ref('easy_my_coop.res_partner_cooperator_3_demo')])]"/> |
|||
</record> |
|||
|
|||
<record id="beesdoo_shift_task_template_3_demo" model="beesdoo.shift.template"> |
|||
<field name="name">A_VEN_7:00-9:30</field> |
|||
<field name="planning_id" ref="beesdoo_shift_planning_1_demo" /> |
|||
<field name="day_nb_id" ref="beesdoo_shift_daynumber_5_demo" /> |
|||
<field name="task_type_id" ref="beesdoo_shift_task_type_1_demo" /> |
|||
<field name="start_time">7</field> |
|||
<field name="end_time">9.5</field> |
|||
<field name="duration">2.5</field> |
|||
<field name="worker_nb">7</field> |
|||
<!-- WARNING: issue, worker not registered in demo --> |
|||
<field name="worker_ids" eval="[(6, 0, [ref('easy_my_coop.res_partner_cooperator_6_demo')])]"/> |
|||
</record> |
|||
|
|||
</odoo> |
@ -1,37 +0,0 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- |
|||
Copyright 2019 Coop IT Easy |
|||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). |
|||
--> |
|||
<odoo> |
|||
|
|||
<!-- Generic and permanent account --> |
|||
|
|||
<record id="beesdoo_shift_partner_1_demo" model="res.partner"> |
|||
<field name="name">Generic Account</field> |
|||
<field name="email">generic@demo.net</field> |
|||
</record> |
|||
|
|||
<record id="beesdoo_shift_partner_2_demo" model="res.partner"> |
|||
<field name="name">Permanent Member Demo</field> |
|||
<field name="is_company" eval="False"/> |
|||
<field name="email">permanent@demo.net</field> |
|||
<field name="city">Ixelles</field> |
|||
<field name="zip">1050</field> |
|||
<field name="country_id" ref="base.be"/> |
|||
</record> |
|||
|
|||
<record id="beesdoo_shift_user_1_demo" model="res.users"> |
|||
<field name="partner_id" ref="beesdoo_shift_partner_1_demo"/> |
|||
<field name="login">generic</field> |
|||
<field name="password">demo</field> |
|||
</record> |
|||
|
|||
<record id="beesdoo_shift_user_2_demo" model="res.users"> |
|||
<field name="partner_id" ref="beesdoo_shift_partner_2_demo"/> |
|||
<field name="login">permanent</field> |
|||
<field name="password">demo</field> |
|||
</record> |
|||
|
|||
|
|||
</odoo> |
@ -1,83 +0,0 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- |
|||
Copyright 2019 Coop IT Easy |
|||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). |
|||
--> |
|||
<odoo> |
|||
<record id="beesdoo_shift_cooperative_status_1_demo" model="cooperative.status"> |
|||
<field name="cooperator_id" ref="easy_my_coop.res_partner_cooperator_1_demo" /> |
|||
<field name="info_session" eval="True" /> |
|||
<field name="info_session_date" eval="datetime.now() - timedelta(days=58)" /> |
|||
<field name="super" eval="True" /> |
|||
<field name="sr">2</field> |
|||
<field name="working_mode">regular</field> |
|||
</record> |
|||
|
|||
<record id="beesdoo_shift_cooperative_status_2_demo" model="cooperative.status"> |
|||
<field name="cooperator_id" ref="easy_my_coop.res_partner_cooperator_2_demo" /> |
|||
<field name="info_session" eval="False" /> |
|||
<field name="sr">2</field> |
|||
<field name="working_mode">irregular</field> |
|||
<field name="irregular_start_date" eval="datetime.now() - timedelta(days=3)" /> |
|||
</record> |
|||
|
|||
<record id="beesdoo_shift_cooperative_status_3_demo" model="cooperative.status"> |
|||
<field name="cooperator_id" ref="easy_my_coop.res_partner_cooperator_3_demo" /> |
|||
<field name="info_session" eval="True" /> |
|||
<field name="info_session_date" eval="datetime.now() - timedelta(days=98)" /> |
|||
<field name="sc">2</field> |
|||
<field name="working_mode">regular</field> |
|||
</record> |
|||
|
|||
<record id="beesdoo_shift_cooperative_status_4_demo" model="cooperative.status"> |
|||
<field name="cooperator_id" ref="easy_my_coop.res_partner_cooperator_4_demo" /> |
|||
<field name="sr">2</field> |
|||
<field name="working_mode">irregular</field> |
|||
<field name="irregular_start_date" eval="datetime.now() - timedelta(days=6)" /> |
|||
</record> |
|||
|
|||
<record id="beesdoo_shift_cooperative_status_5_demo" model="cooperative.status"> |
|||
<field name="cooperator_id" ref="easy_my_coop.res_partner_cooperator_5_demo" /> |
|||
<field name="sr">2</field> |
|||
<field name="working_mode">regular</field> |
|||
</record> |
|||
|
|||
<record id="beesdoo_shift_cooperative_status_6_demo" model="cooperative.status"> |
|||
<field name="cooperator_id" ref="easy_my_coop.res_partner_cooperator_6_demo" /> |
|||
<field name="info_session" eval="True" /> |
|||
<field name="info_session_date" eval="datetime.now() - timedelta(days=36)" /> |
|||
<field name="sc">2</field> |
|||
<field name="working_mode">regular</field> |
|||
</record> |
|||
|
|||
<!--WARNING : Related field must be set manually, otherwise they are not stored --> |
|||
<record id="easy_my_coop.res_partner_cooperator_1_demo" model="res.partner"> |
|||
<field name="working_mode">regular</field> |
|||
<field name="cooperator_type">share_a</field> |
|||
</record> |
|||
|
|||
<record id="easy_my_coop.res_partner_cooperator_2_demo" model="res.partner"> |
|||
<field name="working_mode">irregular</field> |
|||
<field name="cooperator_type">share_a</field> |
|||
</record> |
|||
|
|||
<record id="easy_my_coop.res_partner_cooperator_3_demo" model="res.partner"> |
|||
<field name="working_mode">regular</field> |
|||
<field name="cooperator_type">share_a</field> |
|||
</record> |
|||
|
|||
<record id="easy_my_coop.res_partner_cooperator_4_demo" model="res.partner"> |
|||
<field name="working_mode">irregular</field> |
|||
<field name="cooperator_type">share_a</field> |
|||
</record> |
|||
|
|||
<record id="easy_my_coop.res_partner_cooperator_5_demo" model="res.partner"> |
|||
<field name="working_mode">regular</field> |
|||
<field name="cooperator_type">share_a</field> |
|||
</record> |
|||
|
|||
<record id="easy_my_coop.res_partner_cooperator_6_demo" model="res.partner"> |
|||
<field name="working_mode">regular</field> |
|||
<field name="cooperator_type">share_a</field> |
|||
</record> |
|||
</odoo> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue