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

        <record id="view_pos_box_out" model="ir.ui.view">
            <field name="name">Box Out</field>
            <field name="model">pos.box.out</field>
            <field name="arch" type="xml">
                <form string="Output Operation" version="7.0">
                    <separator string="Describe why you take money from the cash register:"/>
                    <group colspan="4">
                        <field name="journal_id"/>
                        <field name="product_id"/>
                        <field name="amount"/>
                        <field name="session_id" />
                        <field name="name"/>
                        <field name="user_id" invisible="1" />
                    </group>
                    <footer>
                        <button name="get_out" string="Take Money"
                            type="object" class="oe_highlight"/> or 
                         <button icon="gtk-stop" special="cancel"
                            string="Cancel" class="oe_link"/>

                    </footer>
                </form>
            </field>
        </record>

        <act_window name="Take Money Out"
            res_model="pos.box.out"
            src_model="account.bank.statement"
            view_mode="form"
            target="new"
            key2="client_action_multi"
            id="action_box_out" />

        <act_window name="Take Money Out"
            res_model="pos.box.out"
            src_model="pos.session"
            view_mode="form"
            target="new"
            key2="client_action_multi"
            id="action_pos_session_box_out" />

    </data>
</openerp>
