<commit_before><?xml version="1.0"?>
<openerp>
    <data>
    
    <!-- Account Move -->
    <record id="view_account_move_reversal_form" model="ir.ui.view">
        <field name="name">account.move.form.reversal</field>
        <field name="model">account.move</field>
        <field name="inherit_id" ref="account_streamline.view_move_form_streamline"/>
        <field name="arch" type="xml">
            <xpath expr="//button[@name='button_cancel']" position="after">
                <button name="button_reverse_move" states="posted" string="Reverse Entry" type="object" groups="account.group_account_user" />
            </xpath>
            <xpath expr="//button[@name='button_cancel']" position="attributes">
                <attribute name="groups">account.group_account_user</attribute>
            </xpath>
        </field>
    </record>

    </data>
</openerp>
<commit_msg>Restore the cancel button as it should be<commit_after><?xml version="1.0"?>
<openerp>
    <data>
    
    <!-- Account Move -->
    <record id="view_account_move_reversal_form" model="ir.ui.view">
        <field name="name">account.move.form.reversal</field>
        <field name="model">account.move</field>
        <field name="inherit_id" ref="account_streamline.view_move_form_streamline"/>
        <field name="arch" type="xml">
            <xpath expr="//button[@name='button_cancel']" position="after">
                <button name="button_reverse_move" states="posted" string="Reverse Entry" type="object" groups="account.group_account_user" />
            </xpath>
        </field>
    </record>

    </data>
</openerp>

{'fraction_non_alphanumeric': 0.1662531017369727, 'fraction_numerical': 0.0024813895781637717, 'mean_word_length': 3.104325699745547, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 2, '>': 43, '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': '7223545', 'n_tokens_mistral': 501, 'n_tokens_neox': 487, 'n_words': 81}