diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
| commit | 3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch) | |
| tree | a44932296ef4a9b71d5f010906253d8c53727726 /addons/mass_mailing/wizard/mailing_mailing_schedule_date_views.xml | |
| parent | 0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff) | |
initial commit 2
Diffstat (limited to 'addons/mass_mailing/wizard/mailing_mailing_schedule_date_views.xml')
| -rw-r--r-- | addons/mass_mailing/wizard/mailing_mailing_schedule_date_views.xml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/addons/mass_mailing/wizard/mailing_mailing_schedule_date_views.xml b/addons/mass_mailing/wizard/mailing_mailing_schedule_date_views.xml new file mode 100644 index 00000000..4e39c434 --- /dev/null +++ b/addons/mass_mailing/wizard/mailing_mailing_schedule_date_views.xml @@ -0,0 +1,28 @@ +<?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" required="1"/> + </group> + </group> + <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="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="type">ir.actions.act_window</field> + <field name="view_mode">form</field> + <field name="target">new</field> + </record> +</odoo> |
