<?xml version="1.0"?>
<data><xpath expr="//form" position="attributes">
                    <attribute name="js_class">mailing_mailing_view_form_full_width</attribute>
                    <attribute name="class">o_form_view o_mass_mailing_mailing_form o_mass_mailing_form_full_width</attribute>
                </xpath>
                <field name="state" position="before">
                    <xpath expr="//div[hasclass('alert-info')]" position="move"/>
                </field>
                <xpath expr="//div[hasclass('alert-info')]" position="attributes">
                    <attribute name="attrs">{'invisible': ['|',('state', '=', 'draft'),'&amp;',('state', '!=', 'in_queue'),('failed', '=', 0)]}</attribute>
                </xpath>
                <xpath expr="//div[hasclass('alert-info')]/div[hasclass('o_mails_canceled')]" position="replace"/>
                <xpath expr="//div[hasclass('alert-info')]/div[hasclass('o_mails_sent')]" position="replace"/>
                <xpath expr="//div[hasclass('alert-info')]/div[hasclass('o_mails_failed')]//span[@name='failed_text']" position="replace">
                    <span name="failed_text">email(s) not sent.</span>
                </xpath>
                <xpath expr="//div[hasclass('alert-info')]/div[hasclass('o_mails_scheduled')]" position="attributes">
                    <attribute name="attrs">{'invisible': [('state', '!=', 'in_queue')]}</attribute>
                </xpath>
                <xpath expr="//div[hasclass('alert-info')]/div[hasclass('o_mails_scheduled')]/button" position="attributes">
                    <attribute name="attrs">{'invisible': [('scheduled', '=', 0)]}</attribute>
                </xpath>
                <xpath expr="//div[hasclass('alert-info')]/div[hasclass('o_mails_scheduled')]//span[@name='scheduled_text']" position="replace">
                    <span name="scheduled_text">email(s) scheduled for </span>
                </xpath>
                <xpath expr="//div[hasclass('alert-info')]/div[hasclass('o_mails_scheduled')]/button" position="after">
                </xpath>
                <xpath expr="//div[hasclass('alert-info')]/div[hasclass('o_mails_in_queue')]/strong/span[@name='next_departure_text']" position="attributes">
                    <attribute name="attrs">{'invisible': [('scheduled', '!=', 0)]}</attribute>
                </xpath>
                <xpath expr="//div[hasclass('alert-info')]/div[hasclass('o_mails_scheduled')]" position="inside">
                    <xpath expr="//div[hasclass('alert-info')]/div[hasclass('o_mails_in_queue')]/strong" position="move"/>
                </xpath>
                <xpath expr="//div[hasclass('alert-info')]/div[hasclass('o_mails_in_queue')]" position="replace"/>
                <xpath expr="//sheet" position="before">
                    <xpath expr="//div[hasclass('oe_button_box')]" position="move"/>
                    <xpath expr="//widget[@name='web_ribbon']" position="move"/>
                    <xpath expr="//group[hasclass('o_mass_mailing_mailing_group')]" position="move"/>
                    <xpath expr="//notebook" position="move"/>
                </xpath>
                <xpath expr="//div[hasclass('oe_button_box')]" position="inside">
                    <button name="action_view_traces_sent" attrs="{'invisible': [('state', 'in', ('draft','test'))]}" type="object" class="oe_stat_button" icon="fa-paper-plane">
                        <field name="sent" widget="statinfo" string="Sent"/>
                    </button>
                    <button name="action_view_traces_canceled" attrs="{'invisible': [('state', 'in', ('draft','test'))]}" type="object" class="oe_stat_button" icon="fa-paper-plane-o">
                        <field name="canceled" widget="statinfo" string="Ignored"/>
                    </button>
                </xpath>
                <xpath expr="//notebook" position="inside">
                    <page string="Chat" name="chat"/>
                </xpath>
                <xpath expr="//notebook/page[@name='chat']" position="inside">
                    <xpath expr="//div[hasclass('oe_chatter')]" position="move"/>
                </xpath>
                <xpath expr="//div[hasclass('oe_chatter')]" position="attributes">
                    <attribute name="class" remove="o-aside" add="o-full-width" separator=" "/>
                </xpath>
                <xpath expr="//notebook/page[@name='mail_body']//field[@name='body_arch']" position="attributes">
                    <attribute name="iframeHtmlClass">o_mass_mailing_iframe</attribute>
                </xpath>
                <xpath expr="//notebook/page[@name='mail_body']" position="after">
                    <!-- test_01_mass_mailing_editor_tour -->
                    <field name="body_html" invisible="1"/>
                    <page string="Mail Debug" name="mail_debug" groups="base.group_no_one">
                        <div class="position-relative">
                            <div class="mt-n2">
                                <field name="body_html" class="o_mail_body" widget="html" readonly="True" force_save="1" options="{'cssReadonly': 'mass_mailing.iframe_css_assets_readonly'}"/>
                            </div>
                            <field name="is_body_empty" invisible="1"/>
                            <div class="o_view_nocontent oe_read_only" attrs="{'invisible': ['|', ('is_body_empty', '=', False), ('state', 'in', ('sending', 'done'))]}">
                                <div class="o_nocontent_help">
                                    <p class="o_view_nocontent_smiling_face">
                                        This mailing has no selected design (yet!).
                                    </p>
                                </div>
                            </div>
                        </div>
                    </page>
                </xpath>
                <xpath expr="//sheet" position="replace"/>
            </data>