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

    <record id="product_pricelist_view_add_relation_fields" model="ir.ui.view">
        <field name="name">product.pricelist.add.relation.fields</field>
        <field name="model">product.pricelist</field>
        <field name="inherit_id" ref="product.product_pricelist_view"/>
        <field name="arch" type="xml">
            <field name="company_id" position="after">
                <field name="sequence"/>
                <field name="pricelist_related_default"/>
                <field name="base_pricelist"/>
            </field>
        </field>
    </record>

    <record id="product_template_form_add_relation_pricelist" model="ir.ui.view">
        <field name="name">product.template.tree.add.relation.pricelist</field>
        <field name="model">product.template</field>
        <field name="inherit_id" ref="product.product_template_form_view"/>
        <field name="arch" type="xml">
            <field name="item_ids" position="attributes">
                <attribute name="context">{'default_applied_on': '0_product_variant'}</attribute>
            </field>
            <div name="pricelist_item" position="after">
               <group name="relations">
                   <separator string="Relations"/>
                   <group colspan="8" col="8">
                       <field name="relation_pvd_pvi_a" readonly="True" coslpan="2"/>
                       <field name="relation_pvd_pvi_b" readonly="True" coslpan="2"/>
                       <field name="relation_pvd_pvi_c" readonly="True" coslpan="2"/>
                       <field name="relation_pvd_pvi_d" readonly="True" coslpan="2"/>
                   </group>
               </group>
           </div>
            <xpath expr="//field[@name='item_ids']/tree/field[@name='pricelist_id']" position="attributes">
                <attribute name="readonly">True</attribute>
            </xpath>
            <xpath expr="//field[@name='item_ids']/tree/field[@name='min_quantity']" position="attributes">
                <attribute name="invisible">True</attribute>
            </xpath>
            <xpath expr="//field[@name='item_ids']/tree/field[@name='date_start']" position="attributes">
                <attribute name="invisible">True</attribute>
            </xpath>
            <xpath expr="//field[@name='item_ids']/tree/field[@name='date_end']" position="attributes">
                <attribute name="invisible">True</attribute>
            </xpath>
             <xpath expr="//field[@name='item_ids']/tree/field[@name='pricelist_id']" position="replace">
                <field name="name_pricelist"/>
             </xpath>
            <xpath expr="//field[@name='item_ids']/tree/field[@name='fixed_price']" position="after">
                <field name="pricelist_related" readonly="True"/>
                <field name="margin"/>
                <field name="pricelist_related_price"/>
                <field name="product_tmpl_id" invisible="1"/>
                <field name="product_id" invisible="1"/>
            </xpath><commit_msg> [FIX] product_pricelist_custom: Typo<commit_after><?xml version="1.0" encoding="utf-8"?>
<odoo>

    <record id="product_pricelist_view_add_relation_fields" model="ir.ui.view">
        <field name="name">product.pricelist.add.relation.fields</field>
        <field name="model">product.pricelist</field>
        <field name="inherit_id" ref="product.product_pricelist_view"/>
        <field name="arch" type="xml">
            <field name="company_id" position="after">
                <field name="sequence"/>
                <field name="pricelist_related_default"/>
                <field name="base_pricelist"/>
            </field>
        </field>
    </record>

    <record id="product_template_form_add_relation_pricelist" model="ir.ui.view">
        <field name="name">product.template.tree.add.relation.pricelist</field>
        <field name="model">product.template</field>
        <field name="inherit_id" ref="product.product_template_form_view"/>
        <field name="arch" type="xml">
            <field name="item_ids" position="attributes">
                <attribute name="context">{'default_applied_on': '0_product_variant'}</attribute>
            </field>
            <div name="pricelist_item" position="after">
               <group name="relations">
                   <separator string="Relations"/>
                   <group colspan="8" col="8">
                       <field name="relation_pvd_pvi_a" readonly="True" colspan="2"/>
                       <field name="relation_pvd_pvi_b" readonly="True" colspan="2"/>
                       <field name="relation_pvd_pvi_c" readonly="True" colspan="2"/>
                       <field name="relation_pvd_pvi_d" readonly="True" colspan="2"/>
                   </group>
               </group>
           </div>
            <xpath expr="//field[@name='item_ids']/tree/field[@name='pricelist_id']" position="attributes">
                <attribute name="readonly">True</attribute>
            </xpath>
            <xpath expr="//field[@name='item_ids']/tree/field[@name='min_quantity']" position="attributes">
                <attribute name="invisible">True</attribute>
            </xpath>
            <xpath expr="//field[@name='item_ids']/tree/field[@name='date_start']" position="attributes">
                <attribute name="invisible">True</attribute>
            </xpath>
            <xpath expr="//field[@name='item_ids']/tree/field[@name='date_end']" position="attributes">
                <attribute name="invisible">True</attribute>
            </xpath>
             <xpath expr="//field[@name='item_ids']/tree/field[@name='pricelist_id']" position="replace">
                <field name="name_pricelist"/>
             </xpath>
            <xpath expr="//field[@name='item_ids']/tree/field[@name='fixed_price']" position="after">
                <field name="pricelist_related" readonly="True"/>
                <field name="margin"/>
                <field name="pricelist_related_price"/>
                <field name="product_tmpl_id" invisible="1"/>
                <field name="product_id" invisible="1"/>
            </xpath>
{'fraction_non_alphanumeric': 0.16156572164948454, 'fraction_numerical': 0.003865979381443299, 'mean_word_length': 2.400328587075575, 'pattern_counts': {'":': 0, '<': 131, '<?xml version=': 2, '>': 131, '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': '4554251', 'n_tokens_mistral': 1819, 'n_tokens_neox': 1696, 'n_words': 252}