<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>        
        <!--  Add  Product -->
        
		<record id="view_add_product" model="ir.ui.view">
            <field name="name">Add Product</field>
            <field name="model">pos.add.product</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form string="Add product :">
				    <group col="6" colspan="4">
				    	<field name="product_id"/>
				    	<field name="quantity"/>
				    	<separator string="" colspan="4"/>
				    	<newline/>
				    	<group colspan="4" col="4">
				    	    <label string="" colspan="1"/>
					    	<button icon="gtk-stop" special="cancel"
	                            string="Cancel"/>
	                		<button icon="gtk-ok" name="close_action"
	                			string="Save &amp; Close" type="object"/>
	                		<button name="select_product" string="Save &amp; New"
	                			colspan="1" type="object" icon="gtk-add"/>
	                    </group>
                	</group>
                </form>
            </field>
        </record>

        <record id="action_add_product" model="ir.actions.act_window">
            <field name="name">Add Product</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">pos.add.product</field>
            <field name="view_type">form</field>
            <field name="view_mode">form</field>
            <field name="target">new</field>            
        </record>
        
	</data>
</openerp>	        
