Browse Source

[ADD] b_shift : member cards demo datas

pull/125/head
Elouan Le Bars 5 years ago
parent
commit
0a5b7d1aee
  1. 49
      beesdoo_shift/demo/workers.xml

49
beesdoo_shift/demo/workers.xml

@ -50,7 +50,6 @@
<field name="working_mode">regular</field> <field name="working_mode">regular</field>
</record> </record>
<!--WARNING : Related field must be set manually, otherwise they are not stored -->
<record id="beesdoo_base.res_partner_cooperator_1_demo" model="res.partner"> <record id="beesdoo_base.res_partner_cooperator_1_demo" model="res.partner">
<field name="working_mode">regular</field> <field name="working_mode">regular</field>
<field name="cooperator_type">share_a</field> <field name="cooperator_type">share_a</field>
@ -80,4 +79,52 @@
<field name="working_mode">regular</field> <field name="working_mode">regular</field>
<field name="cooperator_type">share_a</field> <field name="cooperator_type">share_a</field>
</record> </record>
<record id="beesdoo_base.member_card_1_demo" model="member.card">
<field name="barcode">421457731741</field>
<field name="comment">Demo data</field>
<field name="create_date" eval="datetime.now() - timedelta(days=15)" />
<field name="partner_id" ref="beesdoo_base.res_partner_cooperator_1_demo" />
<field name="valid" eval="True" />
</record>
<record id="beesdoo_base.member_card_2_demo" model="member.card">
<field name="barcode">429919251493</field>
<field name="comment">Demo data</field>
<field name="create_date" eval="datetime.now() - timedelta(days=10)" />
<field name="partner_id" ref="beesdoo_base.res_partner_cooperator_2_demo" />
<field name="valid" eval="True" />
</record>
<record id="beesdoo_base.member_card_3_demo" model="member.card">
<field name="barcode">421457731742</field>
<field name="comment">Demo data</field>
<field name="create_date" eval="datetime.now() - timedelta(days=15)" />
<field name="partner_id" ref="beesdoo_base.res_partner_cooperator_3_demo" />
<field name="valid" eval="True" />
</record>
<record id="beesdoo_base.member_card_4_demo" model="member.card">
<field name="barcode">421457731743</field>
<field name="comment">Demo data</field>
<field name="create_date" eval="datetime.now() - timedelta(days=15)" />
<field name="partner_id" ref="beesdoo_base.res_partner_cooperator_4_demo" />
<field name="valid" eval="True" />
</record>
<record id="beesdoo_base.member_card_5_demo" model="member.card">
<field name="barcode">421457731744</field>
<field name="comment">Demo data</field>
<field name="create_date" eval="datetime.now() - timedelta(days=15)" />
<field name="partner_id" ref="beesdoo_base.res_partner_cooperator_5_demo" />
<field name="valid" eval="True" />
</record>
<record id="beesdoo_base.member_card_6_demo" model="member.card">
<field name="barcode">421457731745</field>
<field name="comment">Demo data</field>
<field name="create_date" eval="datetime.now() - timedelta(days=15)" />
<field name="partner_id" ref="beesdoo_base.res_partner_cooperator_6_demo" />
<field name="valid" eval="True" />
</record>
</odoo> </odoo>
Loading…
Cancel
Save