<?xml version="1.0" encoding="utf-8"?>
<terp>
    <data noupdate="1">
        
        <!--
		Payment term
		-->	
        <record id="account_payment_term" model="account.payment.term">
            <field name="name">30 Days Net</field>
        </record>
        <record id="account_payment_term_line" model="account.payment.term.line">
            <field name="name">30 days</field>
            <field name="value">balance</field>
            <field eval="30" name="days"/>
            <field name="condition">net days</field>
            <field eval="account_payment_term" name="payment_id"/>
        </record>
        
        <!--
		Account Journal View
		-->
        <record id="account_journal_bank_view" model="account.journal.view">
            <field name="name">Cash Journal View</field>
        </record>
        <record id="bank_col1" model="account.journal.column">
            <field name="view_id" ref="account_journal_bank_view"/>
            <field name="name">Date</field>
            <field name="field">date</field>
            <field eval="True" name="required"/>
            <field eval="1" name="sequence"/>
        </record>
        <record id="bank_col2" model="account.journal.column">
            <field name="view_id" ref="account_journal_bank_view"/>
            <field name="name">N. Piece</field>
            <field name="field">move_id</field>
            <field eval="False" name="required"/>
            <field eval="2" name="sequence"/>
        </record>
        <record id="bank_col7" model="account.journal.column">
            <field name="view_id" ref="account_journal_bank_view"/>
            <field name="name">Name</field>
            <field name="field">name</field>
            <field eval="3" name="sequence"/>
            <field eval="True" name="required"/>
        </record>
        <record id="bank_col4" model="account.journal.column">
            <field name="view_id" ref="account_journal_bank_view"/>
            <field name="name">Statement</field>
            <field name="field">statement_id</field>
            <field eval="4" name="sequence"/>
        </record>
        <record id="bank_col6" model="account.journal.column">
            <field name="view_id" ref="account_journal_bank_view"/>
            <field name="name">Partner</field>
            <field name="field">partner_id</field>
            <field eval="5" name="sequence"/>
        </record>
        <record id="bank_col5" model="account.journal.column">
            <field name="view_id" ref="account_journal_bank_view"/>
            <field name="name">Account</field>
            <field name="field">account_id</field>
            <field eval="True" name="required"/>
            <field eval="6" name="sequence"/>
        </record>
        <record id="bank_col9" model="account.journal.column">
            <field name="view_id" ref="account_journal_bank_view"/>
            <field name="name">Debit</field>
            <field name="field">debit</field>
            <field eval="10" name="sequence"/>
        </record>
        <record id="bank_col10" model="account.journal.column">
            <field name="view_id" ref="account_journal_bank_view"/>
            <field name="name">Credit</field>
            <field name="field">credit</field>
            <field eval="11" name="sequence"/>
        </record>
        <record id="bank_col3" model="account.journal.column">
            <field name="view_id" ref="account_journal_bank_view"/>
            <field name="name">Ref</field>
            <field name="field">ref</field>
            <field eval="7" name="sequence"/>
        </record>
        <record id="bank_col23" model="account.journal.column">
            <field name="view_id" ref="account_journal_bank_view"/>
            <field name="name">State</field>
            <field name="field">state</field>
            <field eval="12" name="sequence"/>
        </record>
        
        <record id="account_journal_bank_view_multi" model="account.journal.view">
            <field name="name">Multi-Currency Cash Journal View</field>
        </record>
        <record id="bank_col1_multi" model="account.journal.column">
            <field name="view_id" ref="account_journal_bank_view_multi"/>
            <field name="name">Date</field>
            <field name="field">date</field>
            <field eval="True" name="required"/>
            <field eval="1" name="sequence"/>
        </record>
        <record id="bank_col2_multi" model="account.journal.column">
            <field name="view_id" ref="account_journal_bank_view_multi"/>
            <field name="name">N. Piece</field>
            <field name="field">move_id</field>
            <field eval="False" name="required"/>
            <field eval="2" name="sequence"/>
        </record>
        <record id="bank_col7_multi" model="account.journal.column">
            <field name="view_id" ref="account_journal_bank_view_multi"/>
            <field name="name">Name</field>
            <field name="field">name</field>
            <field eval="3" name="sequence"/>
            <field eval="True" name="required"/>
        </record>
        <record id="bank_col4_multi" model="account.journal.column">
            <field name="view_id" ref="account_journal_bank_view_multi"/>
            <field name="name">Statement</field>
            <field name="field">statement_id</field>
            <field eval="4" name="sequence"/>
        </record>
        <record id="bank_col6_multi" model="account.journal.column">
            <field name="view_id" ref="account_journal_bank_view_multi"/>
            <field name="name">Partner</field>
            <field name="field">partner_id</field>
            <field eval="5" name="sequence"/>
        </record>
        <record id="bank_col5_multi" model="account.journal.column">
            <field name="view_id" ref="account_journal_bank_view_multi"/>
            <field name="name">Account</field>
            <field name="field">account_id</field>
            <field eval="True" name="required"/>
            <field eval="6" name="sequence"/>
        </record>
        <record id="bank_col9_multi" model="account.journal.column">
            <field name="view_id" ref="account_journal_bank_view_multi"/>
            <field name="name">Debit</field>
            <field name="field">debit</field>
            <field eval="10" name="sequence"/>
        </record>
        <record id="bank_col10_multi" model="account.journal.column">
            <field name="view_id" ref="account_journal_bank_view_multi"/>
            <field name="name">Credit</field>
            <field name="field">credit</field>
            <field eval="11" name="sequence"/>
        </record>
        <record id="bank_col17_multi" model="account.journal.column">
            <field name="view_id" ref="account_journal_bank_view_multi"/>
            <field name="name">Currency Amt.</field>
            <field name="field">amount_currency</field>
            <field eval="12" name="sequence"/>
        </record>
        <record id="bank_col18_multi" model="account.journal.column">
            <field name="view_id" ref="account_journal_bank_view_multi"/>
            <field name="name">Currency</field>
            <field name="field">currency_id</field>
            <field eval="13" name="sequence"/>
        </record>
        <record id="bank_col3_multi" model="account.journal.column">
            <field name="view_id" ref="account_journal_bank_view_multi"/>
            <field name="name">Ref</field>
            <field name="field">ref</field>
            <field eval="7" name="sequence"/>
        </record>
        <record id="bank_col23_multi" model="account.journal.column">
            <field name="view_id" ref="account_journal_bank_view_multi"/>
            <field name="name">State</field>
            <field name="field">state</field>
            <field eval="14" name="sequence"/>
        </record>
        
        
        <record id="account_journal_view" model="account.journal.view">
            <field name="name">Journal View</field>
        </record>
        <record id="journal_col1" model="account.journal.column">
            <field name="view_id" ref="account_journal_view"/>
            <field name="name">Date</field>
            <field name="field">date</field>
            <field eval="True" name="required"/>
            <field eval="1" name="sequence"/>
        </record>
        <record id="journal_col2" model="account.journal.column">
            <field name="view_id" ref="account_journal_view"/>
            <field name="name">N. Piece</field>
            <field name="field">move_id</field>
            <field eval="False" name="required"/>
            <field eval="2" name="sequence"/>
        </record>
        <record id="journal_col3" model="account.journal.column">
            <field name="view_id" ref="account_journal_view"/>
            <field name="name">Ref</field>
            <field name="field">ref</field>
            <field eval="3" name="sequence"/>
        </record>
        <record id="journal_col4" model="account.journal.column">
            <field name="view_id" ref="account_journal_view"/>
            <field name="name">Account</field>
            <field name="field">account_id</field>
            <field eval="True" name="required"/>
            <field eval="5" name="sequence"/>
        </record>
        <record id="journal_col5" model="account.journal.column">
            <field name="view_id" ref="account_journal_view"/>
            <field name="name">Partner</field>
            <field name="field">partner_id</field>
            <field eval="4" name="sequence"/>
        </record>
        <record id="journal_col6" model="account.journal.column">
            <field name="view_id" ref="account_journal_view"/>
            <field name="name">Name</field>
            <field name="field">name</field>
            <field eval="6" name="sequence"/>
            <field eval="True" name="required"/>
        </record>
        <record id="journal_col7" model="account.journal.column">
            <field name="view_id" ref="account_journal_view"/>
            <field name="name">Maturity Date</field>
            <field name="field">date_maturity</field>
            <field eval="7" name="sequence"/>
        </record>
        <record id="journal_col8" model="account.journal.column">
            <field name="view_id" ref="account_journal_view"/>
            <field name="name">Debit</field>
            <field name="field">debit</field>
            <field eval="8" name="sequence"/>
        </record>
        <record id="journal_col9" model="account.journal.column">
            <field name="view_id" ref="account_journal_view"/>
            <field name="name">Credit</field>
            <field name="field">credit</field>
            <field eval="9" name="sequence"/>
        </record>
        <record id="journal_col25" model="account.journal.column">
            <field name="view_id" ref="account_journal_view"/>
            <field name="name">Tax Acc.</field>
            <field name="field">tax_code_id</field>
            <field eval="10" name="sequence"/>
        </record>
        <record id="journal_col26" model="account.journal.column">
            <field name="view_id" ref="account_journal_view"/>
            <field name="name">Tax</field>
            <field name="field">tax_amount</field>
            <field eval="11" name="sequence"/>
        </record>
        <record id="journal_col24" model="account.journal.column">
            <field name="view_id" ref="account_journal_view"/>
            <field name="name">State</field>
            <field name="field">state</field>
            <field eval="12" name="sequence"/>
        </record>
        
        
        <!--
		Account Journal Sequences
		-->
        
        <record id="sequence_journal_type" model="ir.sequence.type">
            <field name="name">Account Journal</field>
            <field name="code">account.journal</field>
        </record>
        <record id="sequence_journal" model="ir.sequence">
            <field name="name">Account Journal</field>
            <field name="code">account.journal</field>
            <field name="prefix"/>
        </record>
        
        <!--
		Account Statement Sequences
		-->
        
        <record id="sequence_reconcile" model="ir.sequence.type">
            <field name="name">Account reconcile sequence</field>
            <field name="code">account.reconcile</field>
        </record>
        <record id="sequence_reconcile_seq" model="ir.sequence">
            <field name="name">Account reconcile sequence</field>
            <field name="code">account.reconcile</field>
            <field name="prefix">A</field>
            <field eval="1" name="number_next"/>
            <field eval="1" name="number_increment"/>
        </record>
        
        
        <record id="sequence_statement_type" model="ir.sequence.type">
            <field name="name">Bank Statement</field>
            <field name="code">account.bank.statement</field>
        </record>
        <record id="sequence_statement" model="ir.sequence">
            <field name="name">Account Bank Statement</field>
            <field name="code">account.bank.statement</field>
            <field name="prefix">St. %(month)s/%(day)s</field>
            <field eval="0" name="number_next"/>
            <field eval="1" name="number_increment"/>
        </record>
        
        <!--
		Account Journal
		-->
        
        <record id="sales_journal" model="account.journal">
            <field name="name">Sales Journal</field>
            <field name="code">SAJ</field>
            <field name="type">sale</field>
            <field name="view_id" ref="account_journal_view"/>
            <field name="sequence_id" ref="sequence_journal"/>
            <field model="account.account" name="default_credit_account_id" search="[('type','=','receivable')]"/>
            <field model="account.account" name="default_debit_account_id" search="[('type','=','receivable')]"/>
            <field name="user_id" ref="base.user_admin"/>
        </record>
        <record id="expenses_journal" model="account.journal">
            <field name="name">Expenses Journal</field>
            <field name="code">EXJ</field>
            <field name="type">purchase</field>
            <field name="view_id" ref="account_journal_view"/>
            <field name="sequence_id" ref="sequence_journal"/>
            <field model="account.account" name="default_debit_account_id" search="[('type','=','payable')]"/>
            <field model="account.account" name="default_credit_account_id" search="[('type','=','payable')]"/>
            <field name="user_id" ref="base.user_admin"/>
        </record>
        
        <record id="bank_journal" model="account.journal">
            <field name="name">Bank Journal</field>
            <field name="code">BNK</field>
            <field name="type">cash</field>
            <field name="view_id" ref="account_journal_bank_view"/>
            <field name="sequence_id" ref="sequence_journal"/>
            <field model="account.account" name="default_debit_account_id" search="[('type','=','cash')]"/>
            <field model="account.account" name="default_credit_account_id" search="[('type','=','cash')]"/>
            <field name="user_id" ref="base.user_admin"/>
        </record>
        
        <record forcecreate="1" id="stock_journal" model="account.journal">
            <field name="name">Stock Journal</field>
            <field name="code">STJ</field>
            <field name="type">general</field>
            <field name="view_id" ref="account_journal_view"/>
            <field name="sequence_id" ref="sequence_journal"/>
            <field name="user_id" ref="base.user_admin"/>
        </record>
        
    </data>
</terp>