diff options
| author | Christophe Simonis <chs@odoo.com> | 2017-03-13 14:49:12 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2017-03-13 14:49:12 +0100 |
| commit | 2e972578b92202eeb53c3d581965bc0095535d6d (patch) | |
| tree | f24773bfcd05638f28b4a2cff054d31c1aea9cc0 /addons/website_event_track/controllers | |
| parent | 4d440caafd4ea42de33b6151a0f17fbac081fd49 (diff) | |
| parent | 73d6f9023af98f49a38a3a945a263c8382ad13af (diff) | |
[MERGE] forward port branch 9.0 up to 73d6f9023af
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 f9d9dec5c1c..373228a6908 100644 --- a/addons/website_event_track/controllers/main.py +++ b/addons/website_event_track/controllers/main.py @@ -38,7 +38,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) |
