Files
odoo_source/odoo/addons/test_access_rights
nda 8b89fc1083 [FIX] base: check ir.rule domain is valid
When the user passes a wrong domain in the record rule, the system allows users
to save that record without checking whether the new domain is correct or
incorrect.

steps to reproduce:
- create an ir.rule on res.users and write a domain with a typo

before this commit:
- users can't log into odoo

after this commit:
- an error is raised to prevent saving a bad domain

opw-3653746

X-original-commit: dc8dfc246d3de9d447a360f15f41f2388ac8d638
Part-of: odoo/odoo#151992
2024-02-01 16:25:41 +00:00
..
…
…