Browse Source

[REF] set cooperator_type in beesdoo_base

pull/142/head
robin.keunen 5 years ago
parent
commit
890f10203b
  1. 6
      beesdoo_base/demo/cooperators.xml
  2. 2
      beesdoo_worker_status/__manifest__.py
  3. 30
      beesdoo_worker_status/demo/cooperators.xml

6
beesdoo_base/demo/cooperators.xml

@ -16,6 +16,7 @@
<field name="city">Etterbeek</field>
<field name="zip">1040</field>
<field name="country_id" ref="base.be"/>
<field name="cooperator_type">share_a</field>
</record>
<record id="res_partner_cooperator_2_demo" model="res.partner">
@ -28,6 +29,7 @@
<field name="city">Bruxelles</field>
<field name="zip">10000</field>
<field name="country_id" ref="base.be"/>
<field name="cooperator_type">share_a</field>
</record>
<record id="res_partner_cooperator_3_demo" model="res.partner">
@ -40,6 +42,7 @@
<field name="city">Landudec</field>
<field name="zip">29710</field>
<field name="country_id" ref="base.fr"/>
<field name="cooperator_type">share_a</field>
</record>
<record id="res_partner_cooperator_4_demo" model="res.partner">
@ -52,6 +55,7 @@
<field name="city">Ixelles</field>
<field name="zip">1050</field>
<field name="country_id" ref="base.be"/>
<field name="cooperator_type">share_a</field>
</record>
<record id="res_partner_cooperator_5_demo" model="res.partner">
@ -64,6 +68,7 @@
<field name="city">Nantes</field>
<field name="zip">44000</field>
<field name="country_id" ref="base.fr"/>
<field name="cooperator_type">share_a</field>
</record>
<record id="res_partner_cooperator_6_demo" model="res.partner">
@ -76,6 +81,7 @@
<field name="city">St-Gilles</field>
<field name="zip">1060</field>
<field name="country_id" ref="base.be"/>
<field name="cooperator_type">share_a</field>
</record>
<record id="member_card_1_demo" model="member.card">

2
beesdoo_worker_status/__manifest__.py

@ -11,6 +11,6 @@
"version": "12.0.1.0.0",
"depends": ["beesdoo_base", "beesdoo_shift"],
"data": [],
"demo": ["demo/cooperators.xml", "demo/tasks.xml"],
"demo": ["demo/tasks.xml"],
"license": "AGPL-3",
}

30
beesdoo_worker_status/demo/cooperators.xml

@ -1,30 +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_base.res_partner_cooperator_1_demo" model="res.partner">
<field name="cooperator_type">share_a</field>
</record>
<record id="beesdoo_base.res_partner_cooperator_2_demo" model="res.partner">
<field name="cooperator_type">share_a</field>
</record>
<record id="beesdoo_base.res_partner_cooperator_3_demo" model="res.partner">
<field name="cooperator_type">share_a</field>
</record>
<record id="beesdoo_base.res_partner_cooperator_4_demo" model="res.partner">
<field name="cooperator_type">share_a</field>
</record>
<record id="beesdoo_base.res_partner_cooperator_5_demo" model="res.partner">
<field name="cooperator_type">share_a</field>
</record>
<record id="beesdoo_base.res_partner_cooperator_6_demo" model="res.partner">
<field name="cooperator_type">share_a</field>
</record>
</odoo>
Loading…
Cancel
Save