From d5072c2ec6d90c5760ab9ef44bee265b96970523 Mon Sep 17 00:00:00 2001 From: Swapnesh Shah Date: Tue, 30 Apr 2019 20:42:31 +0000 Subject: [PATCH] [FIX] calendar: Add force_save to send values to server - Create Event (Where All Day is Set to False) - Edit Event > Check 'All Day', make it 'Recurrent' An error occurs because a mandatory field is not set (`stop_date`). It is possible to work around the issue by doing: - Check 'All Day' - Save - Make it 'Recurrent' However, the result should not depend on the order we perform the action. To solve this we send data to server with `force_save`. Fixes #27269 Closes #33068 closes odoo/odoo#35758 Signed-off-by: Nicolas Martinelli (nim) --- addons/calendar/views/calendar_views.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/calendar/views/calendar_views.xml b/addons/calendar/views/calendar_views.xml index afb3bf77e7f..b4c1ccb662e 100644 --- a/addons/calendar/views/calendar_views.xml +++ b/addons/calendar/views/calendar_views.xml @@ -122,8 +122,8 @@ - - + + @@ -132,7 +132,7 @@ hours - +