Browse Source

[FIX] connector_voicent: _run_update_next_call()

pull/194/head
Maxime Chambreuil 6 years ago
parent
commit
b81503993f
  1. 2
      connector_voicent/models/backend_voicent.py

2
connector_voicent/models/backend_voicent.py

@ -68,7 +68,7 @@ class BackendVoicent(models.Model):
hour=int(cr_time_list[0].split(':')[0]),
minute=int(cr_time_list[0].split(':')[1]),
second=0) + timedelta(
days=0)
days=1)
next_call_tz = timezone(self.env.context.get('tz') or
self.env.user.tz).localize(next_call,
is_dst=False)

Loading…
Cancel
Save