Browse Source

[FIX] Preserve dangling workflow table which is in use

pull/95/head
Stefan Rijnhart 11 years ago
parent
commit
1c9db99c7e
  1. 3
      database_cleanup/model/purge_tables.py

3
database_cleanup/model/purge_tables.py

@ -98,7 +98,8 @@ class CleanupPurgeWizardTable(orm.TransientModel):
""" """
model_ids = self.pool['ir.model'].search(cr, uid, [], context=context) model_ids = self.pool['ir.model'].search(cr, uid, [], context=context)
line_pool = self.pool['cleanup.purge.line.table'] line_pool = self.pool['cleanup.purge.line.table']
known_tables = []
# Start out with known tables with no model
known_tables = ['wkf_witm_trans']
for model in self.pool['ir.model'].browse( for model in self.pool['ir.model'].browse(
cr, uid, model_ids, context=context): cr, uid, model_ids, context=context):

Loading…
Cancel
Save