diff options
| author | Christophe Simonis <chs@odoo.com> | 2017-03-13 16:22:57 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2017-03-13 16:22:57 +0100 |
| commit | 777a87cde8fbee8495c95891d5cb2104cf9160e6 (patch) | |
| tree | 6a1ff070a975ba530ce851ad4ec22d1eba18f2bd /addons/website_event_track/controllers | |
| parent | 62c9cae2699055d32dc872f269e68ca5c1f34889 (diff) | |
| parent | 2ef43281c26b7511f4a884530ff01db876fc5ad2 (diff) | |
[MERGE] forward port branch 10.0 up to 2ef43281c26
Diffstat (limited to 'addons/website_event_track/controllers')
| -rw-r--r-- | addons/website_event_track/controllers/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_event_track/controllers/main.py b/addons/website_event_track/controllers/main.py index 544c749c635..a1bd858ffdd 100644 --- a/addons/website_event_track/controllers/main.py +++ b/addons/website_event_track/controllers/main.py @@ -50,7 +50,7 @@ class WebsiteEventTrackController(http.Controller): for loc in locations.keys(): if locations[loc] and (locations[loc][-1][2] > start_date): locations[loc][-1][3] += 1 - elif not locations[loc] or locations[loc][-1][2] < start_date: + elif not locations[loc] or locations[loc][-1][2] <= start_date: locations[loc].append([False, locations[loc] and locations[loc][-1][2] or dates[0][0], start_date, 1]) dates[-1][1][loc] = locations[loc][-1] forcetr = not bool(location) |
