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

    <!-- Remove cost price to move it -->
    <record model="ir.ui.view" id="product_get_cost_field.product_get_cost_field_form">
      <field name="name">product.get_cost_field.view.form</field>
      <field name="type">form</field>
      <field name="model">product.product</field>
      <field name="inherit_id" ref="product.product_normal_form_view" />
      <field name="arch" type="xml">
          <field name="cost_method" groups="product.group_costing_method" position="after">
        </field>
      </field>
    </record>

    <record id="view_product_standard_price_form" model="ir.ui.view">
        <field name="name">product.product.standard.price.form.inherit</field>
        <field name="model">product.product</field>
        <field name="inherit_id" ref="product.product_normal_form_view"/>
        <field name="priority">20</field>
        <field name="arch" type="xml">
          <xpath expr="//label[@string='Cost Price']" position="before">
                <label for="cost_price" align="1.0" groups="base.group_user"/>
                <div groups="base.group_user">
                    <field name="cost_price" nolabel="1"/>
                </div>
            </xpath>
        </field>
    </record>

  </data>
</openerp><commit_msg>[MRG] the view inheritance is wrong, fix from: lp:~camptocamp/margin-analysis/7.0-wrong-view-inheritance<commit_after><?xml version="1.0" encoding="utf-8"?>
<openerp>
  <data>

    <!-- Remove cost price to move it -->
    <record model="ir.ui.view" id="product_get_cost_field.product_get_cost_field_form">
      <field name="name">product.get_cost_field.view.form</field>
      <field name="type">form</field>
      <field name="model">product.product</field>
      <field name="inherit_id" ref="product.product_normal_form_view" />
      <field name="arch" type="xml">
          <field name="cost_method" groups="product.group_costing_method" position="after">
        </field>
      </field>
    </record>

    <record id="view_product_standard_price_form" model="ir.ui.view">
        <field name="name">product.product.standard.price.form.inherit</field>
        <field name="model">product.product</field>
        <field name="priority">20</field>
        <field name="inherit_id" ref="stock.view_product_standard_price_form"/>
        <field name="arch" type="xml">
            <label for="standard_price" position="before">
                <label for="cost_price" align="1.0" groups="base.group_user"/>
                <div groups="base.group_user">
                    <field name="cost_price" nolabel="1"/>
                </div>
            </label>
        </field>
    </record>

  </data>
</openerp>
{'fraction_non_alphanumeric': 0.1659978110178767, 'fraction_numerical': 0.006566946369937978, 'mean_word_length': 2.9912663755458517, 'pattern_counts': {'":': 0, '<': 75, '<?xml version=': 2, '>': 75, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '6033004', 'n_tokens_mistral': 863, 'n_tokens_neox': 842, 'n_words': 140}