<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>        
        <!--  Point of Sale Confirm -->
        
		<record id="view_pos_open_statement" model="ir.ui.view">
            <field name="name">Open Statements</field>
            <field name="model">pos.open.statement</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form string="Open Statements">
                    <label string="Are you sure you want to open the statements ?"/>
		     	    <separator colspan="4"/>
		     	    <group col="4" colspan="4">
			     	    <group col="2" colspan="2"/>
	               		<button icon='gtk-stop' special="cancel"
	               			string="No" />
	               		<button name="open_statement" string="Yes"
	               			 type="object" icon="gtk-ok"/>
                   </group>
                </form>
            </field>
        </record>
		<act_window name="Open Statements"
				res_model="pos.open.statement"
				src_model="account.bank.statement"
				view_mode="form"
				target="new"
				key2="client_action_multi"    
			id="act_pos_open_statement"/>

        <record id="action_pos_open_statement" model="ir.actions.act_window">
            <field name="name">Open Cash Register</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">pos.open.statement</field>
            <field name="view_type">form</field>
            <field name="view_mode">form</field>
            <field name="target">new</field>
        </record>
        
	</data>
</openerp>	        
