Skip to Content
Menu
This question has been flagged
2620 Views

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

Avatar
Discard
Related Posts Replies Views Activity
2
Jul 24
13937
0
Jun 24
291
2
Sep 23
6682
1
Apr 20
8703
1
Apr 20
3600