summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2019-07-15 13:38:20 +0000
committerThibault Delavallée <tde@odoo.com>2019-07-18 09:20:58 +0000
commitf18a089ca977bcc2c165e5fcebc440250cacb99f (patch)
tree6e622fcb13548ae5c16f8fdd4b9552a95c2e8d1d /addons
parent2b7ad217f1a55a0687ba4ec4765bc7777114aac0 (diff)
[IMP] sms, calendar_sms: improve integration of SMS
PURPOSE Improve integration of SMS in various applications: calendar, contacts. SPECIFICATIONS Calendar_sms: set right composition mode on calendar event in form mode aka comment SMS: keep log when sending SMS in batch through action menu Linked to task 1925950 and 1935280 Part of PR #34864
Diffstat (limited to 'addons')
-rw-r--r--addons/calendar_sms/views/calendar_views.xml5
-rw-r--r--addons/sms/views/res_partner_views.xml1
2 files changed, 5 insertions, 1 deletions
diff --git a/addons/calendar_sms/views/calendar_views.xml b/addons/calendar_sms/views/calendar_views.xml
index 37d20181e9a..bb27097ee14 100644
--- a/addons/calendar_sms/views/calendar_views.xml
+++ b/addons/calendar_sms/views/calendar_views.xml
@@ -7,6 +7,9 @@
binding_model="calendar.event"
res_model="sms.composer"
view_mode="form"
- target="new"/>
+ target="new"
+ context="{
+ 'default_composition_mode': 'comment',
+ }"/>
</odoo>
diff --git a/addons/sms/views/res_partner_views.xml b/addons/sms/views/res_partner_views.xml
index a6dd9823446..f7e1b5da19a 100644
--- a/addons/sms/views/res_partner_views.xml
+++ b/addons/sms/views/res_partner_views.xml
@@ -33,6 +33,7 @@
target="new"
context="{
'default_composition_mode': 'mass',
+ 'default_mass_keep_log': True,
}"
/>
<act_window id="res_partner_act_window_sms_composer_multi"