Browse Source

Merge pull request #194 from ursais/12.0-fix-connector_voicent

[FIX] connector_voicent: _run_update_next_call()
12.0
Maxime Chambreuil 5 years ago
committed by GitHub
parent
commit
0bd7cb147e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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]), hour=int(cr_time_list[0].split(':')[0]),
minute=int(cr_time_list[0].split(':')[1]), minute=int(cr_time_list[0].split(':')[1]),
second=0) + timedelta( second=0) + timedelta(
days=0)
days=1)
next_call_tz = timezone(self.env.context.get('tz') or next_call_tz = timezone(self.env.context.get('tz') or
self.env.user.tz).localize(next_call, self.env.user.tz).localize(next_call,
is_dst=False) is_dst=False)

Loading…
Cancel
Save