Skip to Content
Menu
This question has been flagged
3524 Zobrazenia

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
Zrušiť
Related Posts Replies Zobrazenia Aktivita
2
júl 24
16390
0
jún 24
1372
2
sep 23
9156
1
apr 20
10801
1
apr 20
5427