<?xml version="1.0" ?>
<openerp>
    <data noupdate="1">
        <record id="demo_invoice_0" model="account.invoice">
            <field name="date_due" eval="time.strftime('%Y')+'-01-30'"/>
            <field name="payment_term" ref="account.account_payment_term"/>
            <field name="journal_id" ref="account.expenses_journal"/>
            <field name="currency_id" ref="base.EUR"/>
            <field name="user_id" ref="base.user_demo"/>
            <field name="reference_type">none</field>
            <field name="company_id" ref="base.main_company"/>
            <field name="state">draft</field>
            <field name="type">in_invoice</field>
            <field name="account_id" ref="account.a_pay"/>
            <field eval="0" name="reconciled"/>
            <field name="date_invoice" eval="time.strftime('%Y')+'-01-01'"/>
            <field eval="14.0" name="amount_untaxed"/>
            <field eval="14.0" name="amount_total"/>
            <field name="partner_id" ref="base.res_partner_17"/>
        </record>
        <record id="demo_invoice_0_line_rpanrearpanelshe0" model="account.invoice.line">
            <field name="invoice_id" ref="demo_invoice_0"/>
            <field name="account_id" ref="account.a_expense"/>
            <field name="uos_id" ref="product.product_uom_unit"/>
            <field name="price_unit" eval="10.0" />
            <field name="price_subtotal" eval="10.0" />
            <field name="company_id" ref="base.main_company"/>
            <field name="invoice_line_tax_id" eval="[(6,0,[])]"/>
            <field name="product_id" ref="product.product_product_39"/>
            <field name="quantity" eval="1.0" />
            <field name="partner_id" ref="base.res_partner_16"/>
            <field name="name">Toner Cartridge</field>
        </record>
        <record id="demo_invoice_0_line_rckrackcm0" model="account.invoice.line">
            <field name="invoice_id" ref="demo_invoice_0"/>
            <field name="account_id" ref="account.a_expense"/>
            <field name="uos_id" ref="product.product_uom_unit"/>
            <field name="price_unit" eval="4.0"/>
            <field name="price_subtotal" eval="4.0"/>
            <field name="company_id" ref="base.main_company"/>
            <field name="invoice_line_tax_id" eval="[(6,0,[])]"/>
            <field name="product_id" ref="product.product_product_43"/>
            <field name="quantity" eval="1.0" />
            <field name="partner_id" ref="base.res_partner_17"/>
            <field name="name">Zed+ Antivirus</field>
        </record>
        
        <!-- Some customer invoices used to show the reconciliation process on the bank statement -->
        <record id="invoice_1" model="account.invoice">
            <field name="currency_id" ref="base.EUR"/>
            <field name="company_id" ref="base.main_company"/>
            <field name="journal_id" ref="account.sales_journal"/>
            <field name="state">draft</field>
            <field name="type">out_invoice</field>
            <field name="account_id" ref="a_recv"/>
            <field name="partner_id" ref="base.res_partner_9"/>
        </record>
        <record id="invoice_1_line_1" model="account.invoice.line">
            <field name="name">Otpez Laptop without OS</field>
            <field name="invoice_id" ref="invoice_1"/>
            <field name="price_unit">642</field>
            <field name="quantity">5</field>
            <field name="account_id" ref="a_sale"/>
        </record>
        <record id="invoice_1_line_2" model="account.invoice.line">
            <field name="name">Linutop</field>
            <field name="invoice_id" ref="invoice_1"/>
            <field name="price_unit">280</field>
            <field name="quantity">5</field>
            <field name="account_id" ref="a_sale"/>
        </record>
        <workflow action="invoice_open" model="account.invoice" ref="invoice_1"/>
        
        <record id="invoice_2" model="account.invoice">
            <field name="currency_id" ref="base.EUR"/>
            <field name="company_id" ref="base.main_company"/>
            <field name="journal_id" ref="account.sales_journal"/>
            <field name="state">draft</field>
            <field name="type">out_invoice</field>
            <field name="account_id" ref="a_recv"/>
            <field name="partner_id" ref="base.res_partner_9"/>
            <field eval="time.strftime('%Y-%m') + '-01'" name="date_invoice"/>
        </record>
        <record id="invoice_2_line_1" model="account.invoice.line">
            <field name="name">8-port Switch</field>
            <field name="invoice_id" ref="invoice_2"/>
            <field name="price_unit">50</field>
            <field name="quantity">3</field>
            <field name="account_id" ref="a_sale"/>
        </record>
        <record id="invoice_2_line_2" model="account.invoice.line">
            <field name="name">30m RJ45 wire</field>
            <field name="invoice_id" ref="invoice_2"/>
            <field name="price_unit">25</field>
            <field name="quantity">20</field>
            <field name="account_id" ref="a_sale"/>
        </record>
        <workflow action="invoice_open" model="account.invoice" ref="invoice_2"/>
        
        <record id="invoice_3" model="account.invoice">
            <field name="currency_id" ref="base.EUR"/>
            <field name="company_id" ref="base.main_company"/>
            <field name="journal_id" ref="account.sales_journal"/>
            <field name="state">draft</field>
            <field name="type">out_invoice</field>
            <field name="account_id" ref="a_recv"/>
            <field name="partner_id" ref="base.res_partner_2"/>
            <field eval="time.strftime('%Y-%m') + '-08'" name="date_invoice"/>
        </record>
        <record id="invoice_3_line_1" model="account.invoice.line">
            <field name="name">TypeMatrix Dvorak Keyboard</field>
            <field name="invoice_id" ref="invoice_3"/>
            <field name="price_unit">90</field>
            <field name="quantity">5</field>
            <field name="account_id" ref="a_sale"/>
        </record>
        <record id="invoice_3_line_2" model="account.invoice.line">
            <field name="name">Ergonomic Mouse</field>
            <field name="invoice_id" ref="invoice_3"/>
            <field name="price_unit">15</field>
            <field name="quantity">5</field>
            <field name="account_id" ref="a_sale"/>
        </record>
        <workflow action="invoice_open" model="account.invoice" ref="invoice_3"/>

        <record id="invoice_4" model="account.invoice">
            <field name="currency_id" ref="base.EUR"/>
            <field name="company_id" ref="base.main_company"/>
            <field name="journal_id" ref="account.sales_journal"/>
            <field name="state">draft</field>
            <field name="type">out_invoice</field>
            <field name="account_id" ref="a_recv"/>
            <field name="partner_id" ref="base.res_partner_2"/>
            <field eval="time.strftime('%Y-%m') + '-15'" name="date_invoice"/>
        </record>
        <record id="invoice_4_line_1" model="account.invoice.line">
            <field name="name">Desktop Computer Table</field>
            <field name="invoice_id" ref="invoice_4"/>
            <field name="price_unit">80</field>
            <field name="quantity">5</field>
            <field name="account_id" ref="a_sale"/>
        </record>
        <record id="invoice_4_line_2" model="account.invoice.line">
            <field name="name">Desktop Lamp</field>
            <field name="invoice_id" ref="invoice_4"/>
            <field name="price_unit">20</field>
            <field name="quantity">5</field>
            <field name="account_id" ref="a_sale"/>
        </record>
        <workflow action="invoice_open" model="account.invoice" ref="invoice_4"/>

        <record id="invoice_5" model="account.invoice">
            <field name="currency_id" ref="base.EUR"/>
            <field name="company_id" ref="base.main_company"/>
            <field name="journal_id" ref="account.sales_journal"/>
            <field name="state">draft</field>
            <field name="type">out_invoice</field>
            <field name="account_id" ref="a_recv"/>
            <field name="partner_id" ref="base.res_partner_9"/>
            <field eval="time.strftime('%Y-%m') + '-08'" name="date_invoice"/>
        </record>
        <record id="invoice_5_line_1" model="account.invoice.line">
            <field name="name">TypeMatrix Dvorak Keyboard</field>
            <field name="invoice_id" ref="invoice_5"/>
            <field name="price_unit">90</field>
            <field name="quantity">5</field>
            <field name="account_id" ref="a_sale"/>
        </record>
        <record id="invoice_5_line_2" model="account.invoice.line">
            <field name="name">Ergonomic Mouse</field>
            <field name="invoice_id" ref="invoice_5"/>
            <field name="price_unit">15</field>
            <field name="quantity">5</field>
            <field name="account_id" ref="a_sale"/>
        </record>
        <workflow action="invoice_open" model="account.invoice" ref="invoice_5"/>
    </data>
</openerp>
