summaryrefslogtreecommitdiff
path: root/addons/mass_mailing_sms/wizard/mailing_sms_test_views.xml
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
commit3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch)
treea44932296ef4a9b71d5f010906253d8c53727726 /addons/mass_mailing_sms/wizard/mailing_sms_test_views.xml
parent0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff)
initial commit 2
Diffstat (limited to 'addons/mass_mailing_sms/wizard/mailing_sms_test_views.xml')
-rw-r--r--addons/mass_mailing_sms/wizard/mailing_sms_test_views.xml29
1 files changed, 29 insertions, 0 deletions
diff --git a/addons/mass_mailing_sms/wizard/mailing_sms_test_views.xml b/addons/mass_mailing_sms/wizard/mailing_sms_test_views.xml
new file mode 100644
index 00000000..09656dd1
--- /dev/null
+++ b/addons/mass_mailing_sms/wizard/mailing_sms_test_views.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0"?>
+<odoo>
+ <record id="mailing_sms_test_view_form" model="ir.ui.view">
+ <field name="name">mailing.sms.test.view.form</field>
+ <field name="model">mailing.sms.test</field>
+ <field name="arch" type="xml">
+ <form string="Send a Sample SMS">
+ <p class="text-muted">
+ Send a sample SMS for testing purpose to the numbers below (comma-separated list).
+ </p>
+ <group>
+ <field name="numbers" placeholder="+32 495 85 85 77, +33 545 55 55 55"/>
+ <field name="mailing_id" invisible="1"/>
+ </group>
+ <footer>
+ <button string="Send" name="action_send_sms" type="object" class="btn-primary"/>
+ <button string="Cancel" class="btn btn-secondary" special="cancel"/>
+ </footer>
+ </form>
+ </field>
+ </record>
+
+ <record id="mailing_sms_test_action" model="ir.actions.act_window">
+ <field name="name">Test SMS Marketing</field>
+ <field name="res_model">mailing.sms.test</field>
+ <field name="view_mode">form</field>
+ <field name="target">new</field>
+ </record>
+</odoo>