summaryrefslogtreecommitdiff
path: root/addons/crm_sms
diff options
context:
space:
mode:
authorLucas Perais (lpe) <lpe@odoo.com>2020-07-23 08:56:06 +0000
committerLucas Perais (lpe) <lpe@odoo.com>2020-07-29 09:11:52 +0000
commit559a9cf018e7dcd51d5125819646eb7dabfbc119 (patch)
treec71b2d01d2fd08cfbb1221d56fca4f8dfcbaa041 /addons/crm_sms
parent49d9771c56d9d5652eca34285ade04cc1a303718 (diff)
[IMP] *: adapt some list views to the action button in controlPanel
task-2246383 closes odoo/odoo#54593 Related: odoo/enterprise#11992 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Diffstat (limited to 'addons/crm_sms')
-rw-r--r--addons/crm_sms/views/crm_lead_views.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/addons/crm_sms/views/crm_lead_views.xml b/addons/crm_sms/views/crm_lead_views.xml
index 2830c370554..6a3f80db47a 100644
--- a/addons/crm_sms/views/crm_lead_views.xml
+++ b/addons/crm_sms/views/crm_lead_views.xml
@@ -32,6 +32,9 @@
<field name="model">crm.lead</field>
<field name="inherit_id" ref="crm.crm_lead_view_list_activities"/>
<field name="arch" type="xml">
+ <xpath expr="//header" position="inside">
+ <button name="%(crm_sms.crm_lead_act_window_sms_composer_single)d" type="action" string="SMS" />
+ </xpath>
<xpath expr="//button[@name='%(crm.crm_lead_act_window_compose)d']" position="after">
<button name="%(crm_sms.crm_lead_act_window_sms_composer_multi)d" type="action" string="SMS" icon="fa-comments" />
</xpath>