Skip to content
Snippets Groups Projects
Commit c2ba5ef3 authored by Martin Trigaux's avatar Martin Trigaux Committed by fw-bot
Browse files

[FIX] web: avoid domains with empty list


After loading the calendar view, making a search with an inactive
domain in the list will trigger a search "partner_ids not in []" which
returns zero result.
The code intention was to initialise the avoidValues, not to send an
empty list.

To reproduce the issue:
1. create an event shared between user 1 and 2
2. as user 2, open the Calendar menu
-> shared event is present
3. click on "week" tab (forcing a refresh)
-> shared event no longer appears

Fixes odoo/odoo#39839

closes odoo/odoo#40264

X-original-commit: 299a6dbc
Signed-off-by: default avatarMartin Trigaux (mat) <mat@odoo.com>
parent 4e3e2680
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment