<commit_before><?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <!-- Sale order form -->
        <record model="ir.ui.view" id="view_order_form_inherit_1">
            <field name="name">sale.order.form.inherit_1</field>
            <field name="model">sale.order</field>
            <field name="inherit_id" ref="sale.view_order_form"/>
            <field name="arch" type="xml">
                <data>
                    <xpath expr="//notebook/page/field[@name='order_line']/tree" position="attributes">
                         <attribute name="editable"></attribute>
                    </xpath>
                </data>
            </field>
        </record>

        <record model="ir.ui.view" id="view_order_form_inherit_2">
            <field name="name">sale.order.line.form.inherit_2</field>
            <field name="model">sale.order</field>
            <field name="inherit_id" ref="sale.view_order_form"/>
            <field name="arch" type="xml">
                <data>
                    <xpath expr="//field[@name='order_line']/form/group/group/field[@name='product_id']" position="before">
                        <field name="sale_layout_cat_id"/>
                    </xpath>
                </data>
            </field>
        </record>

        <!-- Invoice form -->
        <record model="ir.ui.view" id="view_invoice_form_inherit_1">
             <field name="name">account.invoice.form.inherit_1</field>
             <field name="model">account.invoice</field>
             <field name="inherit_id" ref="account.invoice_form"/>
             <field name="arch" type="xml">
                 <data>
                     <xpath expr="//notebook/page/field[@name='invoice_line']/tree" position="attributes">
                         <attribute name="editable"></attribute>
                     </xpath>
                 </data>
             </field>
         </record>

        <record model="ir.ui.view" id="view_invoice_line_form_inherit_2">
            <field name="name">account.invoice.line.form.inherit_2</field>
            <field name="model">account.invoice.line</field>
            <field name="inherit_id" ref="account.view_invoice_line_form"/>
            <field name="arch" type="xml">
                <data>
                    <xpath expr="//group/group/field[@name='product_id']" position="before">
                        <field name="sale_layout_cat_id"/>
                    </xpath>
                </data>
            </field>
        </record>

        <!-- Report condiguration -->
        <record id="report_configuration_form_view" model="ir.ui.view">
            <field name="name">report.configuration.form.view</field>
            <field name="model">sale_layout.category</field>
            <field name="arch" type="xml">
                <form string="Report Configuration" version="7.0">
                    <group>
                        <field name="name"/>
                        <field name="subtotal" widget="checkbox"/>
                        <field name="separator" widget="checkbox"/>
                        <field name="pagebreak" widget="checkbox"/><commit_msg>[FIX] Sale_layout: moved the sale category inside the form and after the product, not before<commit_after><?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <!-- Sale order form -->
        <record model="ir.ui.view" id="view_order_form_inherit_1">
            <field name="name">sale.order.form.inherit_1</field>
            <field name="model">sale.order</field>
            <field name="inherit_id" ref="sale.view_order_form"/>
            <field name="arch" type="xml">
                <data>
                    <xpath expr="//notebook/page/field[@name='order_line']/tree[@string='Sales Order Lines']/field[@name='product_id']" position="after">
                         <field name="sale_layout_cat_id"/>
                    </xpath>
                </data>
            </field>
        </record>

        <!-- Invoice form -->
        <record model="ir.ui.view" id="view_invoice_form_inherit_1">
             <field name="name">account.invoice.form.inherit_1</field>
             <field name="model">account.invoice</field>
             <field name="inherit_id" ref="account.invoice_form"/>
             <field name="arch" type="xml">
                 <data>
                    <xpath expr="//page[@string='Invoice Lines']/field[@name='invoice_line']/tree/field[@name='product_id']" position="after">
                        <field name="sale_layout_cat_id"/>
                    </xpath>

                 </data>
             </field>
         </record>

        <record model="ir.ui.view" id="view_invoice_line_form_inherit_2">
            <field name="name">account.invoice.line.form.inherit_2</field>
            <field name="model">account.invoice.line</field>
            <field name="inherit_id" ref="account.view_invoice_line_form"/>
            <field name="arch" type="xml">
                <data>
                    <xpath expr="//group/group/field[@name='product_id']" position="after">
                        <field name="sale_layout_cat_id"/>
                    </xpath>
                </data>
            </field>
        </record>

        <!-- Report condiguration -->
        <record id="report_configuration_form_view" model="ir.ui.view">
            <field name="name">report.configuration.form.view</field>
            <field name="model">sale_layout.category</field>
            <field name="arch" type="xml">
                <form string="Report Configuration" version="7.0">
                    <group>
                        <field name="name"/>
                        <field name="subtotal" widget="checkbox"/>
                        <field name="separator" widget="checkbox"/>
                        <field name="pagebreak" widget="checkbox"/>
{'fraction_non_alphanumeric': 0.15313621603144761, 'fraction_numerical': 0.0041018629294137755, 'mean_word_length': 1.7800475059382423, 'pattern_counts': {'":': 0, '<': 139, '<?xml version=': 2, '>': 139, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 11}, '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': '9515', 'n_tokens_mistral': 1634, 'n_tokens_neox': 1558, 'n_words': 253}