<commit_before><?xml version="1.0" encoding="UTF-8"?>
<openerp>
  <data>
    <!-- move values internal Form-->
    <record model="ir.ui.view" id="picking_values_view">
      <field name="name">view_picking_values.view</field>
      <field name="model">stock.picking</field>
      <field name="inherit_id" ref="stock.view_picking_form"/>
      <field name="arch" type="xml">
        <xpath expr="/form/notebook/page[@string='Products']/field[@name='move_lines']/form[@string='Stock Moves']" position="inside">
          <group colspan="2" col="2" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant">
            <separator string="Values" colspan="2"/>
            <field name="move_value_cost" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant"/>
            <field name="move_value_sale" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant"/>
            <field name="period_id"/>
          </group>
        </xpath>
      </field>
    </record>
    <!-- move values Incoming-->
    <record model="ir.ui.view" id="picking_in_values_view">
      <field name="name">view_picking_in_values.view</field>
      <field name="model">stock.picking</field>
      <field name="inherit_id" ref="stock.view_picking_in_form"/>
      <field name="arch" type="xml">
        <xpath expr="/form/notebook/page[@string='General Information']/field[@name='move_lines']/form[@string='Stock Moves']" position="inside">
          <group colspan="2" col="2" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant">
            <separator string="Values" colspan="2"/>
            <field name="move_value_cost" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant"/>
            <field name="move_value_sale" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant"/>
            <field name="period_id"/>
          </group>
        </xpath>
      </field>
    </record>
    <!-- move values Outgoing -->
    <record model="ir.ui.view" id="picking_out_values_view">
      <field name="name">view_picking_out_values.view</field>
      <field name="model">stock.picking</field>
      <field name="inherit_id" ref="stock.view_picking_out_form"/>
      <field name="arch" type="xml">
        <xpath expr="/form/notebook/page[@string='Products']/field[@name='move_lines']/form[@string='Stock Moves']" position="inside">
          <group colspan="2" col="2" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant">
            <separator string="Values" colspan="2"/>
            <field name="move_value_cost" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant"/>
            <field name="move_value_sale" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant"/>
            <field name="price_unit_sale"/>
            <field name="period_id"/>
          </group>
        </xpath>
      </field>
    </record>
    <!-- move  list  -->
    <record model="ir.ui.view" id="view_move_tree_values">
      <field name="name">move_tree_view_values.view</field>
      <field name="model">stock.move</field>
      <field name="inherit_id" ref="stock.view_move_tree"/>
      <field name="type">tree</field>
      <field name="arch" type="xml">
        <field name="product_uom" position="after">
          <field name="move_value_cost" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant" sum="Value Cost"/>
          <field name="move_value_sale" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant" sum="Value Sale"/>
          <field name="period_id"/>
        </field>
      </field>
    </record>
    <record model="ir.ui.view" id="move_tree_values_view">
      <field name="name">move_tree_view_values.view</field>
      <field name="model">stock.move</field>
      <field name="inherit_id" ref="stock.stock_move_tree"/>
      <field name="type">tree</field>
      <field name="arch" type="xml">
        <field name="product_uom" position="after">
          <field name="move_value_cost" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant" sum="Value Cost"/>
          <field name="move_value_sale" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant" sum="Value Sale"/>
          <field name="period_id"/>
        </field>
      </field>
    </record>
    <record model="ir.ui.view" id="move_tree2_values_view">
      <field name="name">move_tree2_view_values.view</field>
      <field name="model">stock.move</field>
      <field name="inherit_id" ref="stock.stock_move_tree2"/>
      <field name="type">tree</field>
      <field name="arch" type="xml">
        <field name="product_uom" position="after">
          <field name="move_value_cost" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant" sum="Value Cost"/>
          <field name="move_value_sale" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant" sum="Value Sale"/>
          <field name="period_id"/>
        </field>
      </field>
    </record>
    <!-- move  form-->
    <record model="ir.ui.view" id="move_form_values_view">
      <field name="name">move_form_view_values.view</field>
      <field name="model">stock.move</field>
      <field name="inherit_id" ref="stock.view_move_form"/>
      <field name="arch" type="xml">
        <xpath expr="/form[@string='Stock Moves']" position="inside">
          <group colspan="2" col="2" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant">
            <separator string="Values" colspan="2"/>
            <field name="move_value_cost"/>
            <field name="move_value_sale"/>
            <field name="period_id"/>
          </group>
        </xpath>
      </field>
    </record>
    <!-- move  search-->
    <record id="view_move_search" model="ir.ui.view">
        <field name="name">stock.move.search</field>
        <field name="model">stock.move</field>
        <field name="inherit_id" ref="stock.view_move_search"/>
        <field name="arch" type="xml">
            <field name="date" position="after">
                <field name="period_id"/>
            </field>
        </field>
    </record>
    <!-- product list -->
    <record model="ir.ui.view" id="product_tree_value_cost_view">
      <field name="name">product.tree.value.cost.view</field>
      <field name="model">product.product</field>
      <field name="inherit_id" ref="product.product_product_tree_view"/>
      <field name="arch" type="xml">
	      <field name="standard_price" position="after">
		 <field name="valuation" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant" sum="Value"/>
		 <field name="avg_price" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant"/>
		 <field name="stock_account_id" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant"/>
         </field>
      </field>
    </record>

    <!-- product search-->
    <record id="product_search_form_account_view" model="ir.ui.view">
        <field name="name">product.search.account.form</field>
        <field name="model">product.product</field>
        <field name="inherit_id" ref="product.product_search_form_view"/>
        <field name="arch" type="xml">
	 <field name="categ_id" position="after">
	   <field name="stock_account_id" widget="selection" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant"/>
         </field>
      </field>
    </record>
    <record id="product_search_form_account_view" model="ir.ui.view">
        <field name="name">product.search.account.form</field>
        <field name="model">product.product</field>
        <field name="inherit_id" ref="product.product_search_form_view"/>
        <field name="arch" type="xml">
	 <xpath expr="/search/group/filter[@string='Category']" position="before">
             <filter string='Account' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'stock_account_id'}" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant"/>
             <separator orientation="vertical"/>

         </xpath>
      </field>
    </record>
			

    <!-- product moves IN/OUT - make refrenece mandatory -->


			

    <!-- product moves IN/OUT - make refrenece mandatory -->
    <record model="ir.ui.view" id="view_move_tree_reception_referenc_picking">
        <field name="name">stock.move.tree.ref.picking</field>
        <field name="model">stock.move</field>
        <field name="inherit_id" ref="stock.view_move_tree_reception_picking"/>
        <field name="arch" type="xml">
            <field name="picking_id" position="attributes">
                <attribute name="required">1</attribute>
            </field>
        </field>
    </record>
    <record model="ir.ui.view" id="view_move_view_move_form_reference_picking">
        <field name="name">stock.move.form.ref.picking</field>
        <field name="model">stock.move</field>
        <field name="inherit_id" ref="stock.view_move_form"/>
        <field name="arch" type="xml">
            <field name="picking_id" position="attributes">
                <attribute name="required">1</attribute>
            </field>
        </field>
    </record>
    view_move_form_reception_picking
        <record model="ir.ui.view" id="view_move_form_reception_picking_reference_picking">
            <field name="name">stock.move.form.in.ref.picking</field>
            <field name="model">stock.move</field>
            <field name="inherit_id" ref="stock.view_move_form_reception_picking"/>
            <field name="arch" type="xml">
                <field name="picking_id" position="attributes">
                    <attribute name="required">1</attribute>
                </field>
            </field>
        </record>
    

   <!-- value correction -->
   <record id="view_move_value_correction_search" model="ir.ui.view">
       <field name="name">stock.move.value.correction.search</field>
       <field name="model">stock.move</field>
       <field name="type">search</field>
       <field eval="6" name="priority"/>
       <field name="arch" type="xml">
           <search string="Value Correction">
               <group>
                   <filter icon="terp-gtk-go-back-rtl" name="receive" string="Waiting " domain="[('state','in',('confirmed','assigned'))]" help="Stock to be receive"/>
                   <filter icon="terp-check" name="available" string="Available" domain="[('state','in',('assigned',))]" help="Value Correctioni to post" />
                   <filter icon="terp-dialog-close" name="done" string="Done" domain="[('state', '=', 'done')]"/>
                   <separator orientation="vertical"/>
                   <filter icon="terp-go-today" string="Today" domain="[('date','&lt;=',time.strftime('%%Y-%%m-%%d 23:59:59')),('date','&gt;=',time.strftime('%%Y-%%m-%%d 00:00:00'))]" help="Orders planned for today"/>
                   <separator orientation="vertical"/>
                   <field name="picking_id"/>
                   <field name="origin"/>
                   <field name="period_id"/>
                   <field name="product_id"/>
                   <field name="prodlot_id"/>
               </group>
               <newline/>
               <group expand="0" string="Group By..." groups="base.group_extended">
                   <filter string="Product" icon="terp-accessories-archiver" domain="[]" context="{'group_by':'product_id'}"/>
                   <separator orientation="vertical"/>
                   <filter string="Order" icon="terp-gtk-jump-to-rtl" domain="[]" context="{'group_by':'origin'}"/>
                   <filter string="State" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
                   <separator orientation="vertical"/>
                   <filter string="Date" icon="terp-go-month" domain="[]" context="{'group_by':'date'}" />
               </group>
           </search>
       </field>
   </record>
   
   <record id="view_move_value_correction_form" model="ir.ui.view">
       <field name="name">stock.move.value.correction.form</field>
       <field name="model">stock.move</field>
       <field name="type">form</field>
       <field eval="6" name="priority"/>
       <field name="arch" type="xml">
           <form string="Value Correction">
               <group colspan="4" >
                   <field name="product_id" on_change="onchange_product_id_value(product_id,location_id,location_dest_id, False)"/>
                   <field name="value_correction"/>
                   <field name="product_qty" />
                   <field name="product_uom" string="Unit Of Measure"/>
		   <field name="location_id" context="{'product_id':product_id}" domain="[('usage','=','internal')]" string="Stock Location"/>
		   <field name="prodlot_id" context="{'location_id':location_id}" groups="base.group_extended" domain="[('product_id','=',product_id)]"/>
                   <field name="location_dest_id" domain="[('usage','=','inventory')]" string="Diff Location"/>
               </group>
               <group colspan="2" col="2">
                   <separator colspan="2" string="Move Information"/>
                   <field name="name" string="Reason"/>
                   <field name="picking_id" string="Reference" required="1"/>
                   <field name="date"  required="1"/>
               </group>

   <separator colspan="4"/>
   <field name="state" widget="statusbar" statusbar_visible="draft,confirmed,assigned,done" statusbar_colors='{"waiting":"blue","confirmed":"blue"}'/>
   <group col="5" colspan="2">
       <button name="action_cancel" states="assigned,confirmed" string="_Cancel" type="object" icon="gtk-cancel"/>
       <button name="action_confirm" states="draft" string="Process Later" type="object" icon="gtk-apply"/>
       <button name="force_assign" states="confirmed" string="Set Available" type="object" icon="gtk-yes"/>
   </group>
   </form>
   </field>
   </record>
   
   <record id="view_move_value_correction_tree" model="ir.ui.view">
       <field name="name">stock.move.value.correction.tree</field>
       <field name="model">stock.move</field>
       <field name="type">tree</field>
       <field name="priority" eval="6" />
       <field name="arch" type="xml">
           <tree colors="grey:state == 'cancel'" string="Moves" editable="top">
               <field name="picking_id" string="Reference" required="1"/>
               <field name="origin"/>
               <field name="product_id" on_change="onchange_product_id_value(product_id,location_id,location_dest_id, False)"/>
               <field name="product_uom" string="UoM"/>
               <field name="value_correction"/>
               <field name="name" string="Reason"/>
	       <field name="location_id" context="{'product_id':product_id}"  domain="[('usage','=','internal')]" string="Stock Location"/>
	       <field name="prodlot_id" context="{'location_id':location_id}" groups="base.group_extended" domain="[('product_id','=',product_id)]"/>
               <field name="location_dest_id" domain="[('usage','=','inventory')]" string="Diff Location"/>
               <field name="product_qty" invisible="1"/>
               <field name="date"/>
               <field name="period_id"/>
               <field name="state"/>
       <button name="action_cancel" states="assigned,confirmed" string="_Cancel" type="object" icon="gtk-cancel"/>
       <button name="action_confirm" states="draft" string="Process Later" type="object" icon="gtk-apply"/>
               <button name="action_done" string="Process" type="object" states="confirmed,assigned" icon="gtk-go-forward"/>
           </tree>
      </field>
   </record>

   <record id="action_value_correction_move" model="ir.actions.act_window">
       <field name="name">Value Correction</field>
       <field name="res_model">stock.move</field>
       <field name="type">ir.actions.act_window</field>
       <field name="view_type">form</field>
       <field name="view_mode">tree,form</field>
       <field name="domain">[('value_correction', '!=', False)]</field>
       <field name="view_id" ref="view_move_value_correction_tree"/>
       <field name="search_view_id" ref="view_move_value_correction_search"/>
       <field name="help">Change the value of your stock at a specific point in time</field>
   </record>
   
   
   <record model="ir.actions.act_window.view" id="action_move_value_correction_tree">
       <field name="sequence" eval="1"/>
       <field name="view_mode">tree</field>
       <field name="view_id" ref="view_move_value_correction_tree"/>
       <field name="act_window_id" ref="action_value_correction_move"/>
   </record>
   <record model="ir.actions.act_window.view" id="action_move_value_correction_form">
       <field name="sequence" eval="2"/>
       <field name="view_mode">form</field>
       <field name="view_id" ref="view_move_value_correction_form"/>
       <field name="act_window_id" ref="action_value_correction_move"/>
   </record>
   
   <menuitem action="action_value_correction_move" id="menu_action_value_correction" parent="stock.menu_stock_products_moves" sequence="2" groups="base.group_extended"/>
   
   <!-- search Product Moves -->

   <record id="view_move_search_extended_reception_incoming_picking" model="ir.ui.view">
       <field name="name">stock.move.incoming.extended.search2</field>
       <field name="model">stock.move</field>
       <field name="inherit_id" ref="stock.view_move_search_reception_incoming_picking"/>
       <field name="arch" type="xml">
           <field name="origin" position="before">
               <field name="period_id"/>
               <field name="picking_id"/>
           </field>
       </field>
   </record>
   <record id="view_move_search_extended_reception_outcoming_picking" model="ir.ui.view">
       <field name="name">stock.move.outcoming.extended.search2</field>
       <field name="model">stock.move</field>
       <field name="inherit_id" ref="stock.view_move_search_reception_outcoming_picking"/>
       <field name="arch" type="xml">
           <field name="origin" position="before">
               <field name="period_id"/>
               <field name="picking_id"/>
           </field>
       </field>
   </record>

   <!-- Valuation acount -->
        <record id="view_normal_property_acc_stock_form" model="ir.ui.view">
            <field name="name">product.normal.stock.acc.stock.property.formt</field>
            <field name="model">product.product</field>
            <field name="type">form</field>
            <field name="inherit_id" ref="stock.view_normal_property_acc_form"/>
            <field name="priority">26</field>
            <field name="arch" type="xml">
		    <xpath expr="/form/notebook/page[@string='Accounting']/group/group/field[@name='valuation']" position="after">
			    <field name="stock_account_id" />
                    </xpath>
           </field>
       </record>


   
  </data>
</openerp>
<commit_msg>[FIX] typo<commit_after><?xml version="1.0" encoding="UTF-8"?>
<openerp>
  <data>
    <!-- move values internal Form-->
    <record model="ir.ui.view" id="picking_values_view">
      <field name="name">view_picking_values.view</field>
      <field name="model">stock.picking</field>
      <field name="inherit_id" ref="stock.view_picking_form"/>
      <field name="arch" type="xml">
        <xpath expr="/form/notebook/page[@string='Products']/field[@name='move_lines']/form[@string='Stock Moves']" position="inside">
          <group colspan="2" col="2" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant">
            <separator string="Values" colspan="2"/>
            <field name="move_value_cost" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant"/>
            <field name="move_value_sale" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant"/>
            <field name="period_id"/>
          </group>
        </xpath>
      </field>
    </record>
    <!-- move values Incoming-->
    <record model="ir.ui.view" id="picking_in_values_view">
      <field name="name">view_picking_in_values.view</field>
      <field name="model">stock.picking</field>
      <field name="inherit_id" ref="stock.view_picking_in_form"/>
      <field name="arch" type="xml">
        <xpath expr="/form/notebook/page[@string='General Information']/field[@name='move_lines']/form[@string='Stock Moves']" position="inside">
          <group colspan="2" col="2" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant">
            <separator string="Values" colspan="2"/>
            <field name="move_value_cost" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant"/>
            <field name="move_value_sale" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant"/>
            <field name="period_id"/>
          </group>
        </xpath>
      </field>
    </record>
    <!-- move values Outgoing -->
    <record model="ir.ui.view" id="picking_out_values_view">
      <field name="name">view_picking_out_values.view</field>
      <field name="model">stock.picking</field>
      <field name="inherit_id" ref="stock.view_picking_out_form"/>
      <field name="arch" type="xml">
        <xpath expr="/form/notebook/page[@string='Products']/field[@name='move_lines']/form[@string='Stock Moves']" position="inside">
          <group colspan="2" col="2" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant">
            <separator string="Values" colspan="2"/>
            <field name="move_value_cost" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant"/>
            <field name="move_value_sale" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant"/>
            <field name="price_unit_sale"/>
            <field name="period_id"/>
          </group>
        </xpath>
      </field>
    </record>
    <!-- move  list  -->
    <record model="ir.ui.view" id="view_move_tree_values">
      <field name="name">move_tree_view_values.view</field>
      <field name="model">stock.move</field>
      <field name="inherit_id" ref="stock.view_move_tree"/>
      <field name="type">tree</field>
      <field name="arch" type="xml">
        <field name="product_uom" position="after">
          <field name="move_value_cost" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant" sum="Value Cost"/>
          <field name="move_value_sale" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant" sum="Value Sale"/>
          <field name="period_id"/>
        </field>
      </field>
    </record>
    <record model="ir.ui.view" id="move_tree_values_view">
      <field name="name">move_tree_view_values.view</field>
      <field name="model">stock.move</field>
      <field name="inherit_id" ref="stock.stock_move_tree"/>
      <field name="type">tree</field>
      <field name="arch" type="xml">
        <field name="product_uom" position="after">
          <field name="move_value_cost" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant" sum="Value Cost"/>
          <field name="move_value_sale" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant" sum="Value Sale"/>
          <field name="period_id"/>
        </field>
      </field>
    </record>
    <record model="ir.ui.view" id="move_tree2_values_view">
      <field name="name">move_tree2_view_values.view</field>
      <field name="model">stock.move</field>
      <field name="inherit_id" ref="stock.stock_move_tree2"/>
      <field name="type">tree</field>
      <field name="arch" type="xml">
        <field name="product_uom" position="after">
          <field name="move_value_cost" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant" sum="Value Cost"/>
          <field name="move_value_sale" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant" sum="Value Sale"/>
          <field name="period_id"/>
        </field>
      </field>
    </record>
    <!-- move  form-->
    <record model="ir.ui.view" id="move_form_values_view">
      <field name="name">move_form_view_values.view</field>
      <field name="model">stock.move</field>
      <field name="inherit_id" ref="stock.view_move_form"/>
      <field name="arch" type="xml">
        <xpath expr="/form[@string='Stock Moves']" position="inside">
          <group colspan="2" col="2" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant">
            <separator string="Values" colspan="2"/>
            <field name="move_value_cost"/>
            <field name="move_value_sale"/>
            <field name="period_id"/>
          </group>
        </xpath>
      </field>
    </record>
    <!-- move  search-->
    <record id="view_move_search" model="ir.ui.view">
        <field name="name">stock.move.search</field>
        <field name="model">stock.move</field>
        <field name="inherit_id" ref="stock.view_move_search"/>
        <field name="arch" type="xml">
            <field name="date" position="after">
                <field name="period_id"/>
            </field>
        </field>
    </record>
    <!-- product list -->
    <record model="ir.ui.view" id="product_tree_value_cost_view">
      <field name="name">product.tree.value.cost.view</field>
      <field name="model">product.product</field>
      <field name="inherit_id" ref="product.product_product_tree_view"/>
      <field name="arch" type="xml">
	      <field name="standard_price" position="after">
		 <field name="valuation" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant" sum="Value"/>
		 <field name="avg_price" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant"/>
		 <field name="stock_account_id" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant"/>
         </field>
      </field>
    </record>

    <!-- product search-->
    <record id="product_search_form_account_view" model="ir.ui.view">
        <field name="name">product.search.account.form</field>
        <field name="model">product.product</field>
        <field name="inherit_id" ref="product.product_search_form_view"/>
        <field name="arch" type="xml">
	 <field name="categ_id" position="after">
	   <field name="stock_account_id" widget="selection" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant"/>
         </field>
      </field>
    </record>
    <record id="product_search_form_account2_view" model="ir.ui.view">
        <field name="name">product.search.account2.form</field>
        <field name="model">product.product</field>
        <field name="inherit_id" ref="product.product_search_form_view"/>
        <field name="arch" type="xml">
	 <xpath expr="/search/group/filter[@string='Category']" position="before">
             <filter string='Account' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'stock_account_id'}" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant"/>
             <separator orientation="vertical"/>

         </xpath>
      </field>
    </record>
			

    <!-- product moves IN/OUT - make refrenece mandatory -->


			

    <!-- product moves IN/OUT - make refrenece mandatory -->
    <record model="ir.ui.view" id="view_move_tree_reception_referenc_picking">
        <field name="name">stock.move.tree.ref.picking</field>
        <field name="model">stock.move</field>
        <field name="inherit_id" ref="stock.view_move_tree_reception_picking"/>
        <field name="arch" type="xml">
            <field name="picking_id" position="attributes">
                <attribute name="required">1</attribute>
            </field>
        </field>
    </record>
    <record model="ir.ui.view" id="view_move_view_move_form_reference_picking">
        <field name="name">stock.move.form.ref.picking</field>
        <field name="model">stock.move</field>
        <field name="inherit_id" ref="stock.view_move_form"/>
        <field name="arch" type="xml">
            <field name="picking_id" position="attributes">
                <attribute name="required">1</attribute>
            </field>
        </field>
    </record>
    view_move_form_reception_picking
        <record model="ir.ui.view" id="view_move_form_reception_picking_reference_picking">
            <field name="name">stock.move.form.in.ref.picking</field>
            <field name="model">stock.move</field>
            <field name="inherit_id" ref="stock.view_move_form_reception_picking"/>
            <field name="arch" type="xml">
                <field name="picking_id" position="attributes">
                    <attribute name="required">1</attribute>
                </field>
            </field>
        </record>
    

   <!-- value correction -->
   <record id="view_move_value_correction_search" model="ir.ui.view">
       <field name="name">stock.move.value.correction.search</field>
       <field name="model">stock.move</field>
       <field name="type">search</field>
       <field eval="6" name="priority"/>
       <field name="arch" type="xml">
           <search string="Value Correction">
               <group>
                   <filter icon="terp-gtk-go-back-rtl" name="receive" string="Waiting " domain="[('state','in',('confirmed','assigned'))]" help="Stock to be receive"/>
                   <filter icon="terp-check" name="available" string="Available" domain="[('state','in',('assigned',))]" help="Value Correctioni to post" />
                   <filter icon="terp-dialog-close" name="done" string="Done" domain="[('state', '=', 'done')]"/>
                   <separator orientation="vertical"/>
                   <filter icon="terp-go-today" string="Today" domain="[('date','&lt;=',time.strftime('%%Y-%%m-%%d 23:59:59')),('date','&gt;=',time.strftime('%%Y-%%m-%%d 00:00:00'))]" help="Orders planned for today"/>
                   <separator orientation="vertical"/>
                   <field name="picking_id"/>
                   <field name="origin"/>
                   <field name="period_id"/>
                   <field name="product_id"/>
                   <field name="prodlot_id"/>
               </group>
               <newline/>
               <group expand="0" string="Group By..." groups="base.group_extended">
                   <filter string="Product" icon="terp-accessories-archiver" domain="[]" context="{'group_by':'product_id'}"/>
                   <separator orientation="vertical"/>
                   <filter string="Order" icon="terp-gtk-jump-to-rtl" domain="[]" context="{'group_by':'origin'}"/>
                   <filter string="State" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
                   <separator orientation="vertical"/>
                   <filter string="Date" icon="terp-go-month" domain="[]" context="{'group_by':'date'}" />
               </group>
           </search>
       </field>
   </record>
   
   <record id="view_move_value_correction_form" model="ir.ui.view">
       <field name="name">stock.move.value.correction.form</field>
       <field name="model">stock.move</field>
       <field name="type">form</field>
       <field eval="6" name="priority"/>
       <field name="arch" type="xml">
           <form string="Value Correction">
               <group colspan="4" >
                   <field name="product_id" on_change="onchange_product_id_value(product_id,location_id,location_dest_id, False)"/>
                   <field name="value_correction"/>
                   <field name="product_qty" />
                   <field name="product_uom" string="Unit Of Measure"/>
		   <field name="location_id" context="{'product_id':product_id}" domain="[('usage','=','internal')]" string="Stock Location"/>
		   <field name="prodlot_id" context="{'location_id':location_id}" groups="base.group_extended" domain="[('product_id','=',product_id)]"/>
                   <field name="location_dest_id" domain="[('usage','=','inventory')]" string="Diff Location"/>
               </group>
               <group colspan="2" col="2">
                   <separator colspan="2" string="Move Information"/>
                   <field name="name" string="Reason"/>
                   <field name="picking_id" string="Reference" required="1"/>
                   <field name="date"  required="1"/>
               </group>

   <separator colspan="4"/>
   <field name="state" widget="statusbar" statusbar_visible="draft,confirmed,assigned,done" statusbar_colors='{"waiting":"blue","confirmed":"blue"}'/>
   <group col="5" colspan="2">
       <button name="action_cancel" states="assigned,confirmed" string="_Cancel" type="object" icon="gtk-cancel"/>
       <button name="action_confirm" states="draft" string="Process Later" type="object" icon="gtk-apply"/>
       <button name="force_assign" states="confirmed" string="Set Available" type="object" icon="gtk-yes"/>
   </group>
   </form>
   </field>
   </record>
   
   <record id="view_move_value_correction_tree" model="ir.ui.view">
       <field name="name">stock.move.value.correction.tree</field>
       <field name="model">stock.move</field>
       <field name="type">tree</field>
       <field name="priority" eval="6" />
       <field name="arch" type="xml">
           <tree colors="grey:state == 'cancel'" string="Moves" editable="top">
               <field name="picking_id" string="Reference" required="1"/>
               <field name="origin"/>
               <field name="product_id" on_change="onchange_product_id_value(product_id,location_id,location_dest_id, False)"/>
               <field name="product_uom" string="UoM"/>
               <field name="value_correction"/>
               <field name="name" string="Reason"/>
	       <field name="location_id" context="{'product_id':product_id}"  domain="[('usage','=','internal')]" string="Stock Location"/>
	       <field name="prodlot_id" context="{'location_id':location_id}" groups="base.group_extended" domain="[('product_id','=',product_id)]"/>
               <field name="location_dest_id" domain="[('usage','=','inventory')]" string="Diff Location"/>
               <field name="product_qty" invisible="1"/>
               <field name="date"/>
               <field name="period_id"/>
               <field name="state"/>
       <button name="action_cancel" states="assigned,confirmed" string="_Cancel" type="object" icon="gtk-cancel"/>
       <button name="action_confirm" states="draft" string="Process Later" type="object" icon="gtk-apply"/>
               <button name="action_done" string="Process" type="object" states="confirmed,assigned" icon="gtk-go-forward"/>
           </tree>
      </field>
   </record>

   <record id="action_value_correction_move" model="ir.actions.act_window">
       <field name="name">Value Correction</field>
       <field name="res_model">stock.move</field>
       <field name="type">ir.actions.act_window</field>
       <field name="view_type">form</field>
       <field name="view_mode">tree,form</field>
       <field name="domain">[('value_correction', '!=', False)]</field>
       <field name="view_id" ref="view_move_value_correction_tree"/>
       <field name="search_view_id" ref="view_move_value_correction_search"/>
       <field name="help">Change the value of your stock at a specific point in time</field>
   </record>
   
   
   <record model="ir.actions.act_window.view" id="action_move_value_correction_tree">
       <field name="sequence" eval="1"/>
       <field name="view_mode">tree</field>
       <field name="view_id" ref="view_move_value_correction_tree"/>
       <field name="act_window_id" ref="action_value_correction_move"/>
   </record>
   <record model="ir.actions.act_window.view" id="action_move_value_correction_form">
       <field name="sequence" eval="2"/>
       <field name="view_mode">form</field>
       <field name="view_id" ref="view_move_value_correction_form"/>
       <field name="act_window_id" ref="action_value_correction_move"/>
   </record>
   
   <menuitem action="action_value_correction_move" id="menu_action_value_correction" parent="stock.menu_stock_products_moves" sequence="2" groups="base.group_extended"/>
   
   <!-- search Product Moves -->

   <record id="view_move_search_extended_reception_incoming_picking" model="ir.ui.view">
       <field name="name">stock.move.incoming.extended.search2</field>
       <field name="model">stock.move</field>
       <field name="inherit_id" ref="stock.view_move_search_reception_incoming_picking"/>
       <field name="arch" type="xml">
           <field name="origin" position="before">
               <field name="period_id"/>
               <field name="picking_id"/>
           </field>
       </field>
   </record>
   <record id="view_move_search_extended_reception_outcoming_picking" model="ir.ui.view">
       <field name="name">stock.move.outcoming.extended.search2</field>
       <field name="model">stock.move</field>
       <field name="inherit_id" ref="stock.view_move_search_reception_outcoming_picking"/>
       <field name="arch" type="xml">
           <field name="origin" position="before">
               <field name="period_id"/>
               <field name="picking_id"/>
           </field>
       </field>
   </record>

   <!-- Valuation acount -->
        <record id="view_normal_property_acc_stock_form" model="ir.ui.view">
            <field name="name">product.normal.stock.acc.stock.property.formt</field>
            <field name="model">product.product</field>
            <field name="type">form</field>
            <field name="inherit_id" ref="stock.view_normal_property_acc_form"/>
            <field name="priority">26</field>
            <field name="arch" type="xml">
		    <xpath expr="/form/notebook/page[@string='Accounting']/group/group/field[@name='valuation']" position="after">
			    <field name="stock_account_id" />
                    </xpath>
           </field>
       </record>


   
  </data>
</openerp>

{'fraction_non_alphanumeric': 0.16525255729125365, 'fraction_numerical': 0.005180662384690614, 'mean_word_length': 3.2140788594341725, 'pattern_counts': {'":': 4, '<': 801, '<?xml version=': 2, '>': 801, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 42}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3728033', 'n_tokens_mistral': 11741, 'n_tokens_neox': 11383, 'n_words': 1777}