Before this commit: Copy pasting table in firefox gives us traceback because the firefox does not support :has() selector. After this commit: Now it will not give any traceback. task-3591148 closes odoo/odoo#144256 X-original-commit: 224c42e4dedbb18b7f023756d652bb935d5d9829 Signed-off-by: Geelen Sébastien (sge) <sge@odoo.com>