In the spreadsheet app, we need the exact same values which are saved for "ir.filter" records. This commit refactor a bit things to allows getting those values without actually creating the "ir.filter" record. Task 2572184 Part-of: odoo/odoo#75859 Co-authored-by: LucasLefevre <lul@odoo.com>