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

        <record id="product_add_states" model="ir.ui.view">
            <field name="name">product.add.states</field>
            <field name="model">product.product</field>
            <field name="inherit_id" ref="product.product_template_form_view"/>
            <field name="arch" type="xml">
                <xpath expr="//header" position="inside">
                    <button name="signal_edition" string="Edition" type="object"
                            attrs="{'invisible': [('state2','in', ['edition', 'published'])]}" class="oe_highlight"/>
                    <button name="signal_publish" string="Publish" type="object"
                            attrs="{'invisible': [('state2','in', ['active', 'published'])]}" class="oe_highlight"/>
                    <field name="state2" widget="statusbar"/>
                </xpath>
            </field>
        </record>

        <record id="product_change_sales_page" model="ir.ui.view">
            <field name="name">product.change.sales.page</field>
            <field name="model">product.template</field>
            <field name="inherit_id" ref="product.product_template_form_view"/>
            <field name="arch" type="xml">
                <page name="sales" position="attributes">
                    <attribute name="attrs"></attribute>
                </page>
                <group name="sale" position="attributes">
                    <attribute name="string">Condiciones de venta</attribute>
                </group>
                <field name="categ_id" position="attributes">
                    <attribute name="invisible">1</attribute>
                </field>
                <group name="sale" position="inside">
                    <group>
                        <label for="categ_id" string="Internal Category"/>
                        <field name="categ_id" nolabel="1"/>
                    </group>
                </group>
            </field>
        </record>

    </data>
</odoo>
<commit_msg>[UPD]'product_states': modificada la vista del header<commit_after><?xml version="1.0" encoding="utf-8"?>
<odoo>
    <data>

        <record id="product_add_states" model="ir.ui.view">
            <field name="name">product.add.states</field>
            <field name="model">product.product</field>
            <field name="inherit_id" ref="product.product_normal_form_view"/>
            <field name="arch" type="xml">
                <xpath expr="//header" position="inside">
                    <button name="signal_edition" string="Edition" type="object"
                            attrs="{'invisible': [('state2','in', ['edition', 'published'])]}" class="oe_highlight"/>
                    <button name="signal_publish" string="Publish" type="object"
                            attrs="{'invisible': [('state2','in', ['active', 'published'])]}" class="oe_highlight"/>
                    <field name="state2" widget="statusbar"/>
                </xpath>
            </field>
        </record>

        <record id="product_change_sales_page" model="ir.ui.view">
            <field name="name">product.change.sales.page</field>
            <field name="model">product.template</field>
            <field name="inherit_id" ref="product.product_template_form_view"/>
            <field name="arch" type="xml">
                <page name="sales" position="attributes">
                    <attribute name="attrs"></attribute>
                </page>
                <group name="sale" position="attributes">
                    <attribute name="string">Condiciones de venta</attribute>
                </group>
                <field name="categ_id" position="attributes">
                    <attribute name="invisible">1</attribute>
                </field>
                <group name="sale" position="inside">
                    <group>
                        <label for="categ_id" string="Internal Category"/>
                        <field name="categ_id" nolabel="1"/>
                    </group>
                </group>
            </field>
        </record>

    </data>
</odoo>

{'fraction_non_alphanumeric': 0.1577552986512524, 'fraction_numerical': 0.0038535645472061657, 'mean_word_length': 1.852335164835165, 'pattern_counts': {'":': 0, '<': 95, '<?xml version=': 2, '>': 95, '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': '4887397', 'n_tokens_mistral': 1124, 'n_tokens_neox': 1059, 'n_words': 195}