<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"/>
          <field name="move_value_sale" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant"/>
          <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"/>
          <field name="move_value_sale" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant"/>
          <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"/>
          <field name="move_value_sale" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant"/>
          <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"/>
		 <field name="avg_price" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant"/>
         </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"/><commit_msg>[REF] make ref (picking_id) mandatory in manual stock IN/OUT moves<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"/>
          <field name="move_value_sale" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant"/>
          <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"/>
          <field name="move_value_sale" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant"/>
          <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"/>
          <field name="move_value_sale" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant"/>
          <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"/>
		 <field name="avg_price" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant"/>
         </field>
      </field>
    </record>

    <!-- 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"/>
{'fraction_non_alphanumeric': 0.1637650550830527, 'fraction_numerical': 0.00782008105485473, 'mean_word_length': 3.2941176470588234, 'pattern_counts': {'":': 0, '<': 389, '<?xml version=': 2, '>': 389, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 25}, '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': '4873503', 'n_tokens_mistral': 5612, 'n_tokens_neox': 5464, 'n_words': 810}