<?xml version="1.0" encoding="utf-8" ?>
<odoo>
    <!-- ============================================ -->
    <!-- Consumer Groups (Grupos de Consumo) -->
    <!-- ============================================ -->

    <record id="group_garaialde" model="res.partner">
        <field name="name">Garaialde Kooperatiba</field>
        <field name="is_group" eval="True" />
        <field name="is_company" eval="True" />
        <field name="street">Garaialde Kalea 1</field>
        <field name="city">Bilbao</field>
        <field name="zip">48012</field>
        <field name="country_id" ref="base.es" />
        <field name="email">garaialde@kooperatiba.eus</field>
        <field name="phone">+34 944 123 456</field>
    </record>

    <record id="group_lamiakada" model="res.partner">
        <field name="name">Lamiakada Kontsumoko Taldea</field>
        <field name="is_group" eval="True" />
        <field name="is_company" eval="True" />
        <field name="street">Lamia Plaza 5</field>
        <field name="city">Donostia</field>
        <field name="zip">20004</field>
        <field name="country_id" ref="base.es" />
        <field name="email">info@lamiakada.eus</field>
        <field name="phone">+34 943 234 567</field>
    </record>

    <record id="group_ekoauzolan" model="res.partner">
        <field name="name">Eko Auzolan</field>
        <field name="is_group" eval="True" />
        <field name="is_company" eval="True" />
        <field name="street">Arrasate Bidea 22</field>
        <field name="city">Gasteiz</field>
        <field name="zip">01008</field>
        <field name="country_id" ref="base.es" />
        <field name="email">kontaktua@ekoauzolan.eus</field>
        <field name="phone">+34 945 345 678</field>
    </record>

    <!-- ============================================ -->
    <!-- Consumer Group Members (Miembros) -->
    <!-- ============================================ -->

    <!-- Miembros de Garaialde -->
    <record id="member_ane_garcia" model="res.partner">
        <field name="name">Ane García Etxebarria</field>
        <field name="is_company" eval="False" />
        <field name="street">Autonomia Kalea 15, 3A</field>
        <field name="city">Bilbao</field>
        <field name="zip">48012</field>
        <field name="country_id" ref="base.es" />
        <field name="email">ane.garcia@example.com</field>
        <field name="phone">+34 666 111 222</field>
        <field name="member_ids" eval="[(6, 0, [ref('group_garaialde')])]" />
    </record>

    <record id="member_mikel_lopez" model="res.partner">
        <field name="name">Mikel Lopez Zubizarreta</field>
        <field name="is_company" eval="False" />
        <field name="street">Elcano Kalea 8, 2B</field>
        <field name="city">Bilbao</field>
        <field name="zip">48012</field>
        <field name="country_id" ref="base.es" />
        <field name="email">mikel.lopez@example.com</field>
        <field name="phone">+34 666 222 333</field>
        <field name="member_ids" eval="[(6, 0, [ref('group_garaialde')])]" />
    </record>

    <record id="member_leire_martinez" model="res.partner">
        <field name="name">Leire Martínez Galdos</field>
        <field name="is_company" eval="False" />
        <field name="street">Uribitarte Kalea 5, 4D</field>
        <field name="city">Bilbao</field>
        <field name="zip">48001</field>
        <field name="country_id" ref="base.es" />
        <field name="email">leire.martinez@example.com</field>
        <field name="phone">+34 666 333 444</field>
        <field name="member_ids" eval="[(6, 0, [ref('group_garaialde')])]" />
    </record>

    <!-- Miembros de Lamiakada -->
    <record id="member_jon_fernandez" model="res.partner">
        <field name="name">Jon Fernández Iraola</field>
        <field name="is_company" eval="False" />
        <field name="street">Zurriola Hiribidea 12, 1A</field>
        <field name="city">Donostia</field>
        <field name="zip">20002</field>
        <field name="country_id" ref="base.es" />
        <field name="email">jon.fernandez@example.com</field>
        <field name="phone">+34 677 111 222</field>
        <field name="member_ids" eval="[(6, 0, [ref('group_lamiakada')])]" />
    </record>

    <record id="member_amaia_mendez" model="res.partner">
        <field name="name">Amaia Méndez Etxeberria</field>
        <field name="is_company" eval="False" />
        <field name="street">Ategorrieta Kalea 33, 5C</field>
        <field name="city">Donostia</field>
        <field name="zip">20013</field>
        <field name="country_id" ref="base.es" />
        <field name="email">amaia.mendez@example.com</field>
        <field name="phone">+34 677 222 333</field>
        <field name="member_ids" eval="[(6, 0, [ref('group_lamiakada')])]" />
    </record>

    <!-- Miembros de Eko Auzolan -->
    <record id="member_unai_sanchez" model="res.partner">
        <field name="name">Unai Sánchez Alonso</field>
        <field name="is_company" eval="False" />
        <field name="street">Portal de Castilla 18, 2A</field>
        <field name="city">Gasteiz</field>
        <field name="zip">01007</field>
        <field name="country_id" ref="base.es" />
        <field name="email">unai.sanchez@example.com</field>
        <field name="phone">+34 688 111 222</field>
        <field name="member_ids" eval="[(6, 0, [ref('group_ekoauzolan')])]" />
    </record>

    <record id="member_ainhoa_rodriguez" model="res.partner">
        <field name="name">Ainhoa Rodríguez Pérez</field>
        <field name="is_company" eval="False" />
        <field name="street">Florida Kalea 7, 1B</field>
        <field name="city">Gasteiz</field>
        <field name="zip">01005</field>
        <field name="country_id" ref="base.es" />
        <field name="email">ainhoa.rodriguez@example.com</field>
        <field name="phone">+34 688 222 333</field>
        <field name="member_ids" eval="[(6, 0, [ref('group_ekoauzolan')])]" />
    </record>

</odoo>
