diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2017-11-15 09:02:26 +0100 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2017-11-16 10:39:32 +0100 |
| commit | b4ec51021ba2a4f6cb9be29e4c3dae9bf2c4a56f (patch) | |
| tree | b54f938d0405ea0628120f5693be4996bedc1964 /addons/web/static/src/js/boot.js | |
| parent | 9785f8bbed1036147b4ee1054c40cdeb91b0d1b3 (diff) | |
[FIX][BACKPORT] calendar: correct search in recurrent event
backporting 76b724294aa21c83edd3409d4664e041dd70cd00
OPW 779208
closes #20996
original commit message:
Add a 3 use cases with tests that were failing before.
datetime filters were not working correctly on stop filters
The `_get_recurrent_date_by_event` was only computing recurrency on the start
field of an event which can make a difference. A recurring event
start=2017-01-01 09:00:00; stop=2017-01-01 10:00:0
was not matched in a search ('stop', '>', '2017-01-01 09:30:00')
The filter != was not handled in the recurring use cases.
e.g. making the search 'start is set' in the web client is equal to
('start', '!=', False)
Searching with only a start filter matching recurring events but not the
first ("real") occurence, was returning no result if no stop filter was present.
start=2017-01-01 09:00:00; count=5
had no result in a search ('start', '>', '2017-01-02')
Diffstat (limited to 'addons/web/static/src/js/boot.js')
0 files changed, 0 insertions, 0 deletions
