Impacted versions:
11.0
Steps to reproduce:
Create records via Python Code like below
try:
self.env['model_name'].create({'name': "Name"})
except Exception:
pass
Current behavior:
Record Creation has done if even getting the exception
Expected behavior:
Need to rollback the records if it throws an error