Browse Source

[FIX] database_cleanup: exclude password fields

cf discussion on OCA/server-tools#1408
pull/1408/head
Martin Trigaux 6 years ago
committed by Pedro M. Baeza
parent
commit
282886f520
  1. 1
      database_cleanup/models/purge_columns.py

1
database_cleanup/models/purge_columns.py

@ -67,6 +67,7 @@ class CleanupPurgeWizardColumn(models.TransientModel):
# Format: {table: [fields]} # Format: {table: [fields]}
blacklist = { blacklist = {
'wkf_instance': ['uid'], # lp:1277899 'wkf_instance': ['uid'], # lp:1277899
'res_users': ['password', 'password_crypt'],
} }
@api.model @api.model

Loading…
Cancel
Save