<commit_before><?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <record model="ir.ui.view" id="email_compose_message_wizard_form">
            <field name="name">mail.compose.message.form</field>
            <field name="model">mail.compose.message</field>
            <field name="arch" type="xml">
                <form string="Compose Email" version="7.0">
                    <group>
                        <!-- truly invisible fields for control and options -->
                        <field name="composition_mode" invisible="1"/>
                        <field name="model" invisible="1"/>
                        <field name="res_id" invisible="1"/>
                        <field name="parent_id" invisible="1"/>
                        <!-- visible wizard -->
                        <field name="email_from"
                            attrs="{'invisible':[('composition_mode', '!=', 'mass_mail')]}"/>
                        <field name="subject" placeholder="Subject..." required="True"/>
                        <field name="post"  groups="base.group_no_one"/>
                        <field name="notify"  groups="base.group_no_one"
                            attrs="{'invisible':[('post', '=', True)]}"/>
                        <field name="same_thread"/>
                        <field name="reply_to" placeholder="Email address te redirect replies..."
                            attrs="{'invisible':[('same_thread', '=', True)],
                                    'required':[('same_thread', '!=', True)]}"/>
                        <label for="partner_ids" string="Recipients"
                            attrs="{'invisible':[('composition_mode', '=', 'mass_mail')]}"/>
                        <div groups="base.group_user"
                            attrs="{'invisible':[('composition_mode', '=', 'mass_mail')]}">
                            <span attrs="{'invisible':[('model', '=', False)]}">
                                Followers of
                                <field name="record_name" readonly="1" class="oe_inline"/>
                                and
                            </span>
                            <field name="partner_ids" widget="many2many_tags_email" placeholder="Add contacts to notify..."
                                context="{'force_email':True, 'show_email':True}"/>
                        </div>
                    </group>
                    <field name="body"/>
                    <field name="attachment_ids" widget="many2many_binary" string="Attach a file"/>
                    <footer>
                        <button string="Send" name="send_mail" type="object" class="oe_highlight"/>
                        or
                        <button string="Cancel" class="oe_link" special="cancel" />
                    </footer>
                </form>
            </field>
        </record>

        <record id="action_email_compose_message_wizard" model="ir.actions.act_window">
            <field name="name">Compose Email</field><commit_msg>[FIX] mail.compose.message: fixed notify field, not showing when it should.<commit_after><?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <record model="ir.ui.view" id="email_compose_message_wizard_form">
            <field name="name">mail.compose.message.form</field>
            <field name="model">mail.compose.message</field>
            <field name="arch" type="xml">
                <form string="Compose Email" version="7.0">
                    <group>
                        <!-- truly invisible fields for control and options -->
                        <field name="composition_mode" invisible="1"/>
                        <field name="model" invisible="1"/>
                        <field name="res_id" invisible="1"/>
                        <field name="parent_id" invisible="1"/>
                        <!-- visible wizard -->
                        <field name="email_from"
                            attrs="{'invisible':[('composition_mode', '!=', 'mass_mail')]}"/>
                        <field name="subject" placeholder="Subject..." required="True"/>
                        <field name="post"  groups="base.group_no_one"/>
                        <field name="notify"  groups="base.group_no_one"
                            attrs="{'invisible':[('post', '!=', True)]}"/>
                        <field name="same_thread"/>
                        <field name="reply_to" placeholder="Email address te redirect replies..."
                            attrs="{'invisible':[('same_thread', '=', True)],
                                    'required':[('same_thread', '!=', True)]}"/>
                        <label for="partner_ids" string="Recipients"
                            attrs="{'invisible':[('composition_mode', '=', 'mass_mail')]}"/>
                        <div groups="base.group_user"
                            attrs="{'invisible':[('composition_mode', '=', 'mass_mail')]}">
                            <span attrs="{'invisible':[('model', '=', False)]}">
                                Followers of
                                <field name="record_name" readonly="1" class="oe_inline"/>
                                and
                            </span>
                            <field name="partner_ids" widget="many2many_tags_email" placeholder="Add contacts to notify..."
                                context="{'force_email':True, 'show_email':True}"/>
                        </div>
                    </group>
                    <field name="body"/>
                    <field name="attachment_ids" widget="many2many_binary" string="Attach a file"/>
                    <footer>
                        <button string="Send" name="send_mail" type="object" class="oe_highlight"/>
                        or
                        <button string="Cancel" class="oe_link" special="cancel" />
                    </footer>
                </form>
            </field>
        </record>

        <record id="action_email_compose_message_wizard" model="ir.actions.act_window">
            <field name="name">Compose Email</field>
{'fraction_non_alphanumeric': 0.1498943261258332, 'fraction_numerical': 0.003901804584620387, 'mean_word_length': 1.4230011815675463, 'pattern_counts': {'":': 0, '<': 89, '<?xml version=': 2, '>': 89, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4885', 'n_tokens_mistral': 1534, 'n_tokens_neox': 1452, 'n_words': 268}