Skip to Content
Menu
This question has been flagged
3246 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
15694
0
Jun 24
1126
2
Sep 23
8534
1
Apr 20
10285
1
Apr 20
4828