diff --git a/auth_totp/wizards/res_users_authenticator_create.py b/auth_totp/wizards/res_users_authenticator_create.py index 8131bf7bd..1c885bd13 100644 --- a/auth_totp/wizards/res_users_authenticator_create.py +++ b/auth_totp/wizards/res_users_authenticator_create.py @@ -47,6 +47,7 @@ class ResUsersAuthenticatorCreate(models.TransientModel): ' will be tied to', readonly=True, index=True, + ondelete='cascade', ) confirmation_code = fields.Char( string='Confirmation Code',