<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>

        <record id="view_account_move_journal_form" model="ir.ui.view">
            <field name="name">account.move.journal.form</field>
            <field name="model">account.move.journal</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form string="Standard entries">
                    <field name="target_move"/>
               </form>
            </field>
        </record>

        <record id="action_account_moves_sale" model="ir.actions.act_window">
            <field name="name">Journal Items</field>
            <field name="res_model">account.move.journal</field>
            <field name="view_type">form</field>
            <field name="view_id" ref="view_account_move_journal_form"/>
            <field name="context">{'journal_type':'sale','view_mode':False}</field>
            <field name="target">new</field>
            <field name="help">This view is used by accountants in order to record entries massively in OpenERP. If you want to record a customer invoice, select the journal and the period in the search toolbar. Then, start by recording the entry line of the income account. OpenERP will propose to you automatically the Tax related to this account and the counter-part "Account receivable".</field>
        </record>
        <menuitem action="action_account_moves_sale" sequence="16" id="menu_eaction_account_moves_sale"
            parent="menu_finance_receivables" icon="STOCK_JUSTIFY_FILL" groups="group_account_user,group_account_manager"/>

        <record id="action_account_moves_purchase" model="ir.actions.act_window">
            <field name="name">Journal Items</field>
            <field name="res_model">account.move.journal</field>
            <field name="view_type">form</field>
            <field name="view_id" ref="view_account_move_journal_form"/>
            <field name="context">{'journal_type':'purchase','view_mode':False}</field>
            <field name="target">new</field>
            <field name="help">This view is used by accountants in order to record entries massively in OpenERP. If you want to record a supplier invoice, start by recording the line of the expense account, OpenERP will propose to you automatically the Tax related to this account and the counter-part "Account Payable".</field>
        </record>
        <menuitem action="action_account_moves_purchase"
            id="menu_eaction_account_moves_purchase"
            parent="menu_finance_payables"
            icon="STOCK_JUSTIFY_FILL"
            sequence="16"
            groups="group_account_user,group_account_manager"/>

        <record id="action_account_moves_bank" model="ir.actions.act_window">
            <field name="name">Journal Items</field>
            <field name="res_model">account.move.journal</field>
            <field name="view_type">form</field>
            <field name="view_id" ref="view_account_move_journal_form"/>
            <field name="context">{'journal_type':'bank','view_mode':False}</field>
            <field name="target">new</field>
            <field name="help">This view is used by accountants in order to record entries massively in OpenERP. Journal items are created by OpenERP if you use Bank Statements, Cash Registers, or Customer/Supplier payments.</field>
        </record>

        <menuitem
            action="action_account_moves_bank"
            icon="STOCK_JUSTIFY_FILL"
            id="menu_action_account_moves_bank"
            parent="account.menu_finance_bank_and_cash"
            sequence="16"
            groups="group_account_user,group_account_manager"
        />
    </data>
</openerp>
