Browse Source

[FIX] b_worker_status: working_mode in demo data

pull/133/head
Rémy Taymans 4 years ago
parent
commit
f2bac2d102
  1. 1
      beesdoo_worker_status/demo/cooperators.xml
  2. 24
      beesdoo_worker_status/demo/workers.xml

1
beesdoo_worker_status/demo/cooperators.xml

@ -27,5 +27,4 @@
<record id="beesdoo_base.res_partner_cooperator_6_demo" model="res.partner">
<field name="cooperator_type">share_a</field>
</record>
</odoo>

24
beesdoo_worker_status/demo/workers.xml

@ -13,6 +13,10 @@
<field name="working_mode">regular</field>
</record>
<record id="beesdoo_base.res_partner_cooperator_1_demo" model="res.partner">
<field name="working_mode">regular</field>
</record>
<record id="beesdoo_shift_cooperative_status_2_demo" model="cooperative.status">
<field name="cooperator_id" ref="beesdoo_base.res_partner_cooperator_2_demo" />
<field name="info_session" eval="False" />
@ -21,6 +25,10 @@
<field name="irregular_start_date" eval="datetime.now() - timedelta(days=3)" />
</record>
<record id="beesdoo_base.res_partner_cooperator_2_demo" model="res.partner">
<field name="working_mode">irregular</field>
</record>
<record id="beesdoo_shift_cooperative_status_3_demo" model="cooperative.status">
<field name="cooperator_id" ref="beesdoo_base.res_partner_cooperator_3_demo" />
<field name="info_session" eval="True" />
@ -29,6 +37,10 @@
<field name="working_mode">regular</field>
</record>
<record id="beesdoo_base.res_partner_cooperator_3_demo" model="res.partner">
<field name="working_mode">regular</field>
</record>
<record id="beesdoo_shift_cooperative_status_4_demo" model="cooperative.status">
<field name="cooperator_id" ref="beesdoo_base.res_partner_cooperator_4_demo" />
<field name="sr">2</field>
@ -36,12 +48,20 @@
<field name="irregular_start_date" eval="datetime.now() - timedelta(days=6)" />
</record>
<record id="beesdoo_base.res_partner_cooperator_4_demo" model="res.partner">
<field name="working_mode">irregular</field>
</record>
<record id="beesdoo_shift_cooperative_status_5_demo" model="cooperative.status">
<field name="cooperator_id" ref="beesdoo_base.res_partner_cooperator_5_demo" />
<field name="sr">2</field>
<field name="working_mode">regular</field>
</record>
<record id="beesdoo_base.res_partner_cooperator_5_demo" model="res.partner">
<field name="working_mode">regular</field>
</record>
<record id="beesdoo_shift_cooperative_status_6_demo" model="cooperative.status">
<field name="cooperator_id" ref="beesdoo_base.res_partner_cooperator_6_demo" />
<field name="info_session" eval="True" />
@ -50,4 +70,8 @@
<field name="working_mode">regular</field>
</record>
<record id="beesdoo_base.res_partner_cooperator_6_demo" model="res.partner">
<field name="working_mode">regular</field>
</record>
</odoo>
Loading…
Cancel
Save