<commit_before><?xml version="1.0"?>
<openerp>
    <data>
     <record model="ir.ui.view" id="purchase_order_search_inherit">
        <field name="name">purchase.order.list.select.inherit</field>
        <field name="type">form</field>
        <field name="model">purchase.order</field>
        <field name="inherit_id" ref="purchase.view_purchase_order_filter"/>
        <field name="arch" type="xml">
            <xpath expr="/search/group/filter[@name='draft']" position="after">
             <filter icon="terp-gtk-jump-to-ltr" name="to_approve" string="To Approve" domain="[('state','in',('wait','confirmed'))]" help="Purchase orders which are not approved yet."/>
            </xpath>
        </field>
    </record>
    </data>
</openerp>
<commit_msg>[IMP] purchase_double_validation : Improved the use of xpath in view inheritance.<commit_after><?xml version="1.0"?>
<openerp>
    <data>
     <record model="ir.ui.view" id="purchase_order_search_inherit">
        <field name="name">purchase.order.list.select.inherit</field>
        <field name="type">form</field>
        <field name="model">purchase.order</field>
        <field name="inherit_id" ref="purchase.view_purchase_order_filter"/>
        <field name="arch" type="xml">
            <xpath expr="//filter[@name='draft']" position="after">
                <filter icon="terp-gtk-jump-to-ltr" name="to_approve" string="To Approve" domain="[('state','in',('wait','confirmed'))]" help="Purchase orders which are not approved yet."/>
            </xpath>
        </field>
    </record>
    </data>
</openerp>

{'fraction_non_alphanumeric': 0.18499682136045772, 'fraction_numerical': 0.0025429116338207248, 'mean_word_length': 3.471590909090909, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 2, '>': 41, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '6440892', 'n_tokens_mistral': 508, 'n_tokens_neox': 496, 'n_words': 89}