<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <record id="partner_demo_company_pk" model="res.partner">
        <field name="name">PK Company</field>
        <field name="vat"></field>
        <field name="street">38st Floor, Saddar, Sindh</field>
        <field name="street2">Unit 07 - 10, 38/F Yat Chau International Plaza</field>
        <field name="city">Karachi</field>
        <field name="country_id" ref="base.pk"/>
        <field name="zip"></field>
        <field name="phone">+92215684711</field>
        <field name="email">hih3l5npkwl@temporary-mail.net</field>
        <field name="website">www.pkexample.com</field>
    </record>

    <record id="demo_company_pk" model="res.company">
        <field name="name">PK Company</field>
        <field name="partner_id" ref="partner_demo_company_pk"/>
    </record>

    <function model="res.company" name="_onchange_country_id">
        <value eval="[ref('demo_company_pk')]"/>
    </function>

    <function model="res.users" name="write">
        <value eval="[ref('base.user_root'), ref('base.user_admin'), ref('base.user_demo')]"/>
        <value eval="{'company_ids': [(4, ref('l10n_pk.demo_company_pk'))]}"/>
    </function>

    <function model="account.chart.template" name="try_loading">
        <value eval="[ref('l10n_pk.l10n_pk_chart_template')]"/>
        <value model="res.company" eval="obj().env.ref('l10n_pk.demo_company_pk')"/>
    </function>
</odoo>
