Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
3214 Prikazi

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
Opusti
Related Posts Odgovori Prikazi Aktivnost
2
jul. 24
15654
0
jun. 24
1091
2
sep. 23
8477
1
apr. 20
10260
1
apr. 20
4803