Currently, a traceback is generated on removing a groupby when line is in edit mode in groupable list view. It happens because the facet removal and window click both are called at the same time. This commit fixes the issue by ignoring the window click on removing the search facet. TaskID-2518527 closes #70236 closes odoo/odoo#73102 X-original-commit: da51bd7ef270fe5a481b937f0a3c296d0eea196c Signed-off-by: Simon Genin (ges@odoo) <ges@odoo.com> Co-authored-by: Mohammed Shekha <msh@odoo.com>