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

      
        
        <record id="action_partial_move_server" model="ir.actions.server">
            <field name="name">Deliver/Receive Products</field>
            <field name="model_id" ref="model_stock_move"/>
            <field name="state">code</field>
            <field name="code">action = obj.action_partial_move(context=context)</field>
        </record>
        
        <record id="ir_open_partial_move_wizard" model="ir.values">
            <field eval="'client_action_multi'" name="key2"/>
            <field eval="'stock.move'" name="model"/>
            <field name="name">Deliver/Receive Products</field>
            <field eval="'ir.actions.server,%d'%action_partial_move_server" name="value"/>
            <field eval="True" name="object"/>
        </record>

        
            
        <record id="stock_move_memory_tree_in" model="ir.ui.view">
            <field name="name">stock.move.memory.tree</field>
            <field name="model">stock.move.memory.in</field>
            <field name="type">tree</field>
            <field name="arch" type="xml">
                <tree editable="bottom" string="Product Moves">
                    <field name="product_id" />
                    <field name="quantity" />
                    <field name="product_uom" />
                    <field name="prodlot_id" domain="[('product_id', '=', product_id)]" groups="base.group_extended" />
                    <field name="cost" />
                    <field name="currency" />
                </tree>
            </field>
        </record>
        
        <record id="stock_move_memory_form_in" model="ir.ui.view">
            <field name="name">stock.move.memory.form</field>
            <field name="model">stock.move.memory.in</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form>
                    <field name="product_id" />
                    <field name="quantity" />
                    <field name="product_uom" />
                    <field name="prodlot_id" domain="[('product_id', '=', product_id)]" groups="base.group_extended" />
                    <field name="cost" />
                    <field name="currency" />
                 </form>
            </field>
        </record>   
        
        <record id="stock_move_memory_tree_out" model="ir.ui.view">
            <field name="name">stock.move.memory.tree</field>
            <field name="model">stock.move.memory.out</field>
            <field name="type">tree</field>
            <field name="arch" type="xml">
                <tree editable="bottom" string="Product Moves">
                    <field name="product_id" />
                    <field name="quantity" />
                    <field name="product_uom" />
                    <field name="prodlot_id" domain="[('product_id', '=', product_id)]"  groups="base.group_extended" />
                </tree>
            </field>
        </record>
        
        <record id="stock_move_memory_form_out" model="ir.ui.view">
            <field name="name">stock.move.memory.form</field>
            <field name="model">stock.move.memory.out</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form>
                    <field name="product_id" />
                    <field name="quantity" />
                    <field name="product_uom" />
                    <field name="prodlot_id" domain="[('product_id', '=', product_id)]" groups="base.group_extended" />
                </form>
            </field>
        </record>  
        
    </data>
</openerp>
