<commit_before><?xml version="1.0"?>
<openerp>
    <data>
        <record model="ir.ui.view" id="view_mail_form">
            <field name="name">mail.mail.form</field>
            <field name="model">mail.mail</field>
            <field name="arch" type="xml">
                <form string="Email message" version="7.0">
                    <header>
                        <button name="send" string="Send Now" type="object" states='outgoing' class="oe_highlight"/>
                        <button name="mark_outgoing" string="Retry" type="object" states='exception,cancel'/>
                        <button name="cancel" string="Cancel" type="object" states='outgoing'/>
                    </header>
                    <sheet>
                        <label for="subject" class="oe_edit_only"/>
                        <h2><field name="subject"/></h2>
                        <div style="vertical-align: top;">
                            by <field name="author_id" class="oe_inline" string="User"/> on <field name="date" class="oe_inline"/>
                            <button name="%(action_email_compose_message_wizard)d" string="Reply" type="action" icon="terp-mail-replied"
                                context="{'default_composition_mode':'reply', 'default_parent_id': active_id}" states='received,sent,exception,cancel'/>
                        </div>
                        <group>
                            <field name="email_from"/>
                            <field name="email_to"/>
                            <field name="recipient_ids" widget="many2many_tags"/>
                            <field name="email_cc"/>
                            <field name="reply_to"/>
                        </group>
                        <notebook>
                            <page string="Body">
                                <field name="body_html"/>
                            </page>
                            <page string="Advanced" groups="base.group_no_one">
                                <group>
                                    <div>
                                        <group string="Status">
                                            <field name="auto_delete"/>
                                            <field name="type"/>
                                            <field name="state"/>
                                            <field name="mail_server_id"/>
                                            <field name="model"/>
                                            <field name="res_id"/>
                                        </group>
                                    </div>
                                    <div>
                                        <group string="Headers">
                                            <field name="message_id"/>
                                            <field name="references"/>
                                        </group>
                                        <group string="Recipients">
                                            <field name="partner_ids" widget="many2many_tags"/>
                                            <field name="notified_partner_ids" widget="many2many_tags"/>
                                        </group><commit_msg>[IMP]Added statusbar<commit_after><?xml version="1.0"?>
<openerp>
    <data>
        <record model="ir.ui.view" id="view_mail_form">
            <field name="name">mail.mail.form</field>
            <field name="model">mail.mail</field>
            <field name="arch" type="xml">
                <form string="Email message" version="7.0">
                    <header>
                        <button name="send" string="Send Now" type="object" states='outgoing' class="oe_highlight"/>
                        <button name="mark_outgoing" string="Retry" type="object" states='exception,cancel'/>
                        <button name="cancel" string="Cancel" type="object" states='outgoing'/>
                        <field name="state" widget="statusbar" statusbar_visible="outgoing,sent,received,exception,cancel"/>
                    </header>
                    <sheet>
                        <label for="subject" class="oe_edit_only"/>
                        <h2><field name="subject"/></h2>
                        <div style="vertical-align: top;">
                            by <field name="author_id" class="oe_inline" string="User"/> on <field name="date" class="oe_inline"/>
                            <button name="%(action_email_compose_message_wizard)d" string="Reply" type="action" icon="terp-mail-replied"
                                context="{'default_composition_mode':'reply', 'default_parent_id': active_id}" states='received,sent,exception,cancel'/>
                        </div>
                        <group>
                            <field name="email_from"/>
                            <field name="email_to"/>
                            <field name="recipient_ids" widget="many2many_tags"/>
                            <field name="email_cc"/>
                            <field name="reply_to"/>
                        </group>
                        <notebook>
                            <page string="Body">
                                <field name="body_html"/>
                            </page>
                            <page string="Advanced" groups="base.group_no_one">
                                <group>
                                    <div>
                                        <group string="Status">
                                            <field name="auto_delete"/>
                                            <field name="type"/>
                                            <field name="mail_server_id"/>
                                            <field name="model"/>
                                            <field name="res_id"/>
                                        </group>
                                    </div>
                                    <div>
                                        <group string="Headers">
                                            <field name="message_id"/>
                                            <field name="references"/>
                                        </group>
                                        <group string="Recipients">
                                            <field name="partner_ids" widget="many2many_tags"/>
                                            <field name="notified_partner_ids" widget="many2many_tags"/>
                                        </group>
{'fraction_non_alphanumeric': 0.11441578148710167, 'fraction_numerical': 0.002731411229135053, 'mean_word_length': 0.9534676941315946, 'pattern_counts': {'":': 0, '<': 117, '<?xml version=': 2, '>': 117, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 56, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5370557', 'n_tokens_mistral': 1373, 'n_tokens_neox': 1315, 'n_words': 246}