Before this commit there was no easy/clean way to extend the domain, searchbar sorting and filtering. By adding it in subfunctions we can do clean extending of the domains/filters closes odoo/odoo#84912 Signed-off-by: Laurent Stukkens (ltu) <ltu@odoo.com>