From 1c9db99c7e952fc0cc3bb819b82552b29bb90368 Mon Sep 17 00:00:00 2001 From: Stefan Rijnhart Date: Mon, 10 Feb 2014 22:31:04 +0100 Subject: [PATCH] [FIX] Preserve dangling workflow table which is in use --- database_cleanup/model/purge_tables.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/database_cleanup/model/purge_tables.py b/database_cleanup/model/purge_tables.py index 8fb6120e2..9b589e97b 100644 --- a/database_cleanup/model/purge_tables.py +++ b/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) 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):