[FIX] event_track_calendar_event:
return res on create
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
# Copyright 2016-2020 Akretion France (<https://www.akretion.com>)
|
||||
# @author: Alexis de Lattre <alexis.delattre@akretion.com>
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
|
||||
|
||||
{
|
||||
|
@@ -13,5 +13,6 @@ class CalendarEvent(models.Model):
|
||||
for event in res:
|
||||
if event.event_track_id:
|
||||
event.event_track_id.sync_calendar_event()
|
||||
return res
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user