Before this commit, automations triggering on new records caused onchanges to break out-of-context record rules, hence preventing to create the record. This commit filters out new records from the list of records matched by the domain of an automation. task-1998636 closes odoo/odoo#37360 Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com> Co-authored-by: Raphaël Collet <rco@odoo.com>