[FIX] Preserve dangling workflow table which is in use

pull/95/head
Stefan Rijnhart 2014-02-10 22:31:04 +01:00
parent 46a72e1449
commit 1c9db99c7e
1 changed files with 2 additions and 1 deletions

View File

@ -98,7 +98,8 @@ class CleanupPurgeWizardTable(orm.TransientModel):
"""
model_ids = self.pool['ir.model'].search(cr, uid, [], context=context)
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(
cr, uid, model_ids, context=context):