odoo/ext/custom-addons/mailchimp/wizard/mass_mailing_schedule_date_...

32 lines
1.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="mass_mailing_schedule_date_view_form" model="ir.ui.view">
<field name="name">mass.mailing.schedule.date.view.form</field>
<field name="model">mass.mailing.schedule.date</field>
<field name="arch" type="xml">
<form string="Take Future Schedule Date">
<group>
<group>
<field name="schedule_date" required="1"/>
</group>
</group>
<p class="oe_grey">
If you are using MailChimp Campaigns then Campaigns may only be scheduled to send on the
quarter-hour (:00, :15, :30, :45)
</p>
<footer>
<button string="Schedule" name="set_schedule_date" type="object" class="btn-primary"/>
<button string="Discard " class="btn-secondary" special="cancel" />
</footer>
</form>
</field>
</record>
<record id="mass_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">mass.mailing.schedule.date</field>
<field name="type">ir.actions.act_window</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
</odoo>