From f18a089ca977bcc2c165e5fcebc440250cacb99f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Mon, 15 Jul 2019 13:38:20 +0000 Subject: [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 --- addons/calendar_sms/views/calendar_views.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'addons/calendar_sms') 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', + }"/> -- cgit v1.2.3