summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2018-09-11 13:05:32 +0200
committerNicolas Lempereur <nle@odoo.com>2018-09-11 16:27:58 +0200
commit3d09560ffc779e169ed9488e4e07928204dd234d (patch)
treef553fd2f45f07e45176ae061c2ac5c876548828a /doc
parent5a1f874602ee649dfedf01c1be8f33d133677d00 (diff)
[FIX] calendar: keep recurring after edited one
Since 76b7242 if we have a recurring event with 3 occurences: [4th 4:00-4th 5:00] [14th 4:00-14th 5:00] [24th 4:00-24th 4:00] And we detach the first one to modify it, then when getting the info of reccurring events not detached the system get: - starts: [14th 4:00] [24th 4:00] - stops: [4th 5:00] [14th 5:00] [24th 5:00] And wrongly apply the current filtering over: [14th 4:00-4th 5:00] [24th 4:00-14th 5:00] So the issue hides recurrences of event wrongly if: - they have not been detached - they don't have a duration of 0 - one or several previous events have been detached - the stop date of the nth previous event occurrence (nth equaling number of detached previous events) is not in the current filtering. With this change, the stops are also filtered based on start of occurrence + duration. Without the change, the added test fails with: False != '27-20120301120100' : Last event should be found searching it by date range note: 11.0 version of 10.0 #26887 opw-1866151 closes #26901
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions