Prior to this commit, when using a ir.filter on a dynamic snippet, the filter would not use the product context defined in itself. This would cause unexpected behaviour like ignoring the 'display_default_code: False' in the website_sale ir.filter. This commit adds context to database record lookups. task-2654924 X-original-commit: d10d406739239e8d8fc240b2c6b2596b1ee6e610 Part-of: odoo/odoo#80867