File: mailing_mailing_schedule_date_views.xml

package info (click to toggle)
odoo 18.0.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 878,716 kB
  • sloc: javascript: 927,937; python: 685,670; xml: 388,524; sh: 1,033; sql: 415; makefile: 26
file content (27 lines) | stat: -rw-r--r-- 1,229 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?xml version="1.0"?>
<odoo>
    <record id="mailing_mailing_schedule_date_view_form"  model="ir.ui.view">
        <field name="name">mailing.mailing.schedule.date.view.form</field>
        <field name="model">mailing.mailing.schedule.date</field>
        <field name="arch" type="xml">
            <form string="Take Future Schedule Date">
                <group>
                    <group>
                        <field name="schedule_date" string="Send on" placeholder="Choose a date" required="1"/>
                    </group>
                </group>
                <footer>
                    <button string="Schedule" name="action_schedule_date" type="object" class="btn-primary" data-hotkey="q"/>
                    <button string="Discard " class="btn-secondary" special="cancel" data-hotkey="x" />
                </footer>
            </form>
        </field>
    </record>

    <record id="mailing_mailing_schedule_date_action" model="ir.actions.act_window">
        <field name="name">When do you want to send your mailing?</field>
        <field name="res_model">mailing.mailing.schedule.date</field>
        <field name="view_mode">form</field>
        <field name="target">new</field>
    </record>
</odoo>