<commit_before><?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2018 ACSONE SA/NV
     License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>

    <record id="view_mail_mass_mailing_form" model="ir.ui.view">
        <field
            name="name"
        >mail.mass_mailing.form (mozaik_communication mass_mailing)</field>
        <field name="model">mailing.mailing</field>
        <field name="inherit_id" ref="mass_mailing.view_mail_mass_mailing_form" />
        <field name="arch" type="xml">
            <xpath expr="//button[@name='action_test']" position="attributes">
                <attribute
                    name="groups"
                    translation="off"
                >mass_mailing.group_mass_mailing_user</attribute>
            </xpath>
            <xpath expr="//button[@name='action_put_in_queue']" position="attributes">
                <attribute
                    name="groups"
                    translation="off"
                >mass_mailing.group_mass_mailing_user</attribute>
            </xpath>
            <xpath expr="//button[@name='action_cancel']" position="attributes">
                <attribute
                    name="groups"
                    translation="off"
                >mass_mailing.group_mass_mailing_user</attribute>
            </xpath>
            <xpath expr="//button[@name='action_retry_failed']" position="attributes">
                <attribute
                    name="groups"
                    translation="off"
                >mass_mailing.group_mass_mailing_user</attribute>
            </xpath>
        </field>
    </record>

    <record id="view_mail_mass_mailing_search" model="ir.ui.view">
        <field
            name="name"
        >mail.mass_mailing.search (mozaik_communication mass_mailing)</field>
        <field name="model">mailing.mailing</field>
        <field name="inherit_id" ref="mass_mailing.view_mail_mass_mailing_search" />
        <field name="arch" type="xml">
            <xpath expr="//field[@name='name']" position="after">
                <field name="create_uid" string="Sender" />
            </xpath>
            <xpath expr="//field[@name='campaign_id']" position="attributes">
                <attribute
                    name="groups"
                    translation="off"
                >base.group_erp_manager</attribute>
            </xpath>
            <xpath expr="//field[@name='campaign_id']" position="after">
                <field name="distribution_list_id" />
            </xpath>
            <xpath expr="//filter[@name='sent_by']" position="attributes">
                <attribute
                    name="groups"
                    translation="off"
                >base.group_erp_manager</attribute>
            </xpath>
            <xpath expr="//filter[@name='sent_by']" position="after">
                <filter
                    string="Sender"
                    name="by_sender"
                    context="{'group_by':'create_uid'}"
                />
            </xpath>
        </field>
    </record>

    <record id="view_mail_mass_mailing_tree" model="ir.ui.view">
        <field
            name="name"
        >mail.mass_mailing.tree (mozaik_communication mass_mailing)</field>
        <field name="model">mailing.mailing</field>
        <field name="inherit_id" ref="mass_mailing.view_mail_mass_mailing_tree" />
        <field name="arch" type="xml">
            <xpath expr="//field[@name='subject']" position="after">
                <field name="distribution_list_id" />
                <field name="create_uid" string="Sender" />
                <field name="create_date" />
            </xpath>
            <xpath expr="//field[@name='replied_ratio']" position="after">
                <field name="bounced" />
                <field name="active" groups="base.group_erp_manager" />
            </xpath>
            <xpath expr="//tree" position="attributes"><commit_msg>[CHG] Change distribution_list view; ref#59336<commit_after><?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2018 ACSONE SA/NV
     License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>

    <record id="view_mail_mass_mailing_form" model="ir.ui.view">
        <field
            name="name"
        >mail.mass_mailing.form (mozaik_communication mass_mailing)</field>
        <field name="model">mailing.mailing</field>
        <field name="inherit_id" ref="mass_mailing.view_mail_mass_mailing_form" />
        <field name="arch" type="xml">
            <xpath expr="//button[@name='action_test']" position="attributes">
                <attribute
                    name="groups"
                    translation="off"
                >mass_mailing.group_mass_mailing_user</attribute>
            </xpath>
            <xpath expr="//button[@name='action_put_in_queue']" position="attributes">
                <attribute
                    name="groups"
                    translation="off"
                >mass_mailing.group_mass_mailing_user</attribute>
            </xpath>
            <xpath expr="//button[@name='action_cancel']" position="attributes">
                <attribute
                    name="groups"
                    translation="off"
                >mass_mailing.group_mass_mailing_user</attribute>
            </xpath>
            <xpath expr="//button[@name='action_retry_failed']" position="attributes">
                <attribute
                    name="groups"
                    translation="off"
                >mass_mailing.group_mass_mailing_user</attribute>
            </xpath>
        </field>
    </record>

    <record id="view_mail_mass_mailing_search" model="ir.ui.view">
        <field
            name="name"
        >mail.mass_mailing.search (mozaik_communication mass_mailing)</field>
        <field name="model">mailing.mailing</field>
        <field name="inherit_id" ref="mass_mailing.view_mail_mass_mailing_search" />
        <field name="arch" type="xml">
            <xpath expr="//field[@name='name']" position="after">
                <field name="create_uid" string="Sender" />
            </xpath>
            <xpath expr="//field[@name='campaign_id']" position="attributes">
                <attribute
                    name="groups"
                    translation="off"
                >base.group_erp_manager</attribute>
            </xpath>
            <xpath expr="//field[@name='campaign_id']" position="after">
                <field name="distribution_list_id" />
            </xpath>
            <xpath expr="//filter[@name='sent_by']" position="attributes">
                <attribute
                    name="groups"
                    translation="off"
                >base.group_erp_manager</attribute>
            </xpath>
            <xpath expr="//filter[@name='sent_by']" position="after">
                <filter
                    string="Sender"
                    name="by_sender"
                    context="{'group_by':'create_uid'}"
                />
            </xpath>
        </field>
    </record>

    <record id="view_mail_mass_mailing_tree" model="ir.ui.view">
        <field
            name="name"
        >mail.mass_mailing.tree (mozaik_communication mass_mailing)</field>
        <field name="model">mailing.mailing</field>
        <field name="inherit_id" ref="mass_mailing.view_mail_mass_mailing_tree" />
        <field name="arch" type="xml">
            <xpath expr="//field[@name='subject']" position="after">
                <field name="distribution_list_id" />
                <field name="email_from" />
                <field name="create_date" />
            </xpath>
            <xpath expr="//field[@name='replied_ratio']" position="after">
                <field name="bounced" />
                <field name="active" groups="base.group_erp_manager" />
            </xpath>
            <xpath expr="//tree" position="attributes">
{'fraction_non_alphanumeric': 0.14083974278149036, 'fraction_numerical': 0.0029000126087504728, 'mean_word_length': 1.859408795962509, 'pattern_counts': {'":': 0, '<': 145, '<?xml version=': 2, '>': 145, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 8}, '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': '1881012', 'n_tokens_mistral': 2268, 'n_tokens_neox': 2159, 'n_words': 316}