Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] Calendar: Improved recurrent event when dst happens #15202

Closed

Conversation

dli-odoo
Copy link
Contributor

@dli-odoo dli-odoo commented Jan 24, 2017

The daylight savings time (summer/winter time) is taken into account when creating a recurrent event via calendar which causes problem in time.
e.g:
Whenever you create an event in Brussels timezone for ex. it goes either 1 hour prior or 1 hour after scheduled event time in case of daylight saving time(in March, October).

@C3POdoo C3POdoo added the RD research & development, internal work label Jan 24, 2017
@dli-odoo dli-odoo force-pushed the master-recurrent-event-dst-dli branch from cd3eaef to 145d4de Compare February 6, 2017 06:18
@dli-odoo dli-odoo force-pushed the master-recurrent-event-dst-dli branch from 145d4de to 3b8acc5 Compare March 3, 2017 08:42
@dli-odoo dli-odoo force-pushed the master-recurrent-event-dst-dli branch from 3b8acc5 to a221d90 Compare April 13, 2017 09:44
@dli-odoo dli-odoo force-pushed the master-recurrent-event-dst-dli branch from a221d90 to 3bae0bf Compare May 16, 2017 11:59
@dli-odoo dli-odoo force-pushed the master-recurrent-event-dst-dli branch 3 times, most recently from 8921f5d to aca4d95 Compare May 29, 2017 10:26
@dli-odoo dli-odoo force-pushed the master-recurrent-event-dst-dli branch 2 times, most recently from ce2c34a to 62a8170 Compare June 15, 2017 11:26
@dli-odoo dli-odoo force-pushed the master-recurrent-event-dst-dli branch from 62a8170 to 2d74cbc Compare July 5, 2017 10:47
@jpr-odoo jpr-odoo force-pushed the master-recurrent-event-dst-dli branch from 2d74cbc to ec9181a Compare July 13, 2017 07:20
@jpr-odoo jpr-odoo force-pushed the master-recurrent-event-dst-dli branch from 1d50f56 to 24b3b23 Compare August 4, 2017 08:42
@rop-odoo rop-odoo force-pushed the master-recurrent-event-dst-dli branch from 24b3b23 to 7021449 Compare September 11, 2017 13:14
@rim-odoo rim-odoo requested a review from JKE-be November 7, 2017 13:59
@rim-odoo rim-odoo added the Services Project, timesheet, helpdesk,... label Dec 12, 2017
@rim-odoo rim-odoo force-pushed the master-recurrent-event-dst-dli branch from 7021449 to 77f2863 Compare December 12, 2017 14:08
Copy link
Contributor

@rim-odoo rim-odoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not working (anymore?)

@@ -139,6 +139,7 @@
{'no_create_edit': True}"/>
<field name="alarm_ids" widget="many2many_tags" />
<field name="location" />
<field name="event_tz" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hide if not recurring event, else it will be confusing

@@ -528,7 +528,8 @@ def _prepare_holidays_meeting_values(self):
'stop': self.date_to,
'allday': False,
'state': 'open', # to block that meeting date in the calendar
'privacy': 'confidential'
'privacy': 'confidential',
'event_tz': self.user_id.tz,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it required since a holiday is not a recurring event?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, we should add the employees timezone when creating the event. It's done upon validation, which is not done by the employee but by a manager. Unless we make the assumption the manager shares the same timezone it could be wrong.

@jpr-odoo jpr-odoo force-pushed the master-recurrent-event-dst-dli branch 3 times, most recently from 2973f73 to 533bd3e Compare December 13, 2017 08:45
@tivisse tivisse force-pushed the master-recurrent-event-dst-dli branch from 533bd3e to 9292227 Compare February 14, 2018 08:58
@tde-banana-odoo tde-banana-odoo deleted the master-recurrent-event-dst-dli branch October 12, 2018 14:02
@robodoo robodoo added CI 🤖 Robodoo has seen passing statuses seen 🙂 labels Oct 12, 2018
@jpr-odoo jpr-odoo restored the master-recurrent-event-dst-dli branch January 23, 2019 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI 🤖 Robodoo has seen passing statuses RD research & development, internal work Services Project, timesheet, helpdesk,...
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants