Ir al contenido
Menú
Se marcó esta pregunta
3228 Vistas

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
jul 24
15672
0
jun 24
1113
2
sept 23
8490
1
abr 20
10266
1
abr 20
4812