This commit moves `removeDomainLeaf` in domain.js to be able to use the method everywhere in the JS Code and not only in the gantt view. task-2702636 Part-of: odoo/odoo#108605
This commit moves `removeDomainLeaf` in domain.js to be able to use the method everywhere in the JS Code and not only in the gantt view. task-2702636 Part-of: odoo/odoo#108605