<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <record id="partner_demo_company_us" model="res.partner">
        <field name="name">My US Company</field>
        <field name="is_company" eval="True"/>
        <field name="street">1034 Wildwood Street</field>
        <field name="city">Millersburg</field>
        <field name="zip">44654</field>
        <field name="country_id" ref="base.us"/>
        <field name="state_id" ref="base.state_us_30"/>
        <field name="phone">+1 555-555-5556</field>
    </record>

    <record id="demo_company_us" model="res.company">
        <field name="name">My US Company</field>
        <field name="partner_id" ref="partner_demo_company_us"/>
        <field name="paperformat_id" ref="base.paperformat_us"/>
    </record>

    <record id="demo_bank_us" model="res.partner.bank">
        <field name="acc_number">BKIGRWRR</field>
        <field name="partner_id" ref="partner_demo_company_us"/>
        <field name="company_id" ref="demo_company_us"/>
    </record>

    <function model="res.company" name="_onchange_country_id">
        <value eval="[ref('demo_company_us')]"/>
    </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_us.demo_company_us'))]}"/>
    </function>
</odoo>
