diff --git a/database_cleanup/models/purge_tables.py b/database_cleanup/models/purge_tables.py index 7ff1fec79..e9873af8f 100644 --- a/database_cleanup/models/purge_tables.py +++ b/database_cleanup/models/purge_tables.py @@ -93,6 +93,7 @@ class CleanupPurgeWizardTable(models.TransientModel): for column in model_pool._fields.values() if column.type == 'many2many' and (column.compute is None or column.store) + and column.relation ] self.env.cr.execute(