diff --git a/addons/base_calendar/base_calendar.py b/addons/base_calendar/base_calendar.py index cceae59f525..29fdae2c0f7 100644 --- a/addons/base_calendar/base_calendar.py +++ b/addons/base_calendar/base_calendar.py @@ -74,8 +74,6 @@ def base_calendar_id2real_id(base_calendar_id=None, with_date=False): if len(res) >= 2: real_id = res[0] - if not real_id: - return int(base_calendar_id) if with_date: real_date = time.strftime("%Y-%m-%d %H:%M:%S", \ time.strptime(res[1], "%Y%m%d%H%M%S"))