summaryrefslogtreecommitdiff
path: root/addons/sms/views
diff options
context:
space:
mode:
Diffstat (limited to 'addons/sms/views')
-rw-r--r--addons/sms/views/sms_template_views.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/addons/sms/views/sms_template_views.xml b/addons/sms/views/sms_template_views.xml
index 1f339e4d944..24acfcac134 100644
--- a/addons/sms/views/sms_template_views.xml
+++ b/addons/sms/views/sms_template_views.xml
@@ -6,6 +6,11 @@
<field name="arch" type="xml">
<form string="SMS Templates">
<sheet>
+ <div class="oe_button_box" name="button_box">
+ <button class="oe_stat_button" name="%(sms_template_preview_action)d" icon="fa-search-plus" string="Preview"
+ type="action" target="new"
+ context="{'template_id':active_id}"/>
+ </div>
<div class="oe_title">
<label for="name" class="oe_edit_only" string="SMS Template"/>
<h1><field name="name" required="1"/></h1>