From 077f4c500a806aa80f1231e7f4a6699a571cc448 Mon Sep 17 00:00:00 2001 From: Stefan Rijnhart Date: Thu, 20 Feb 2014 15:42:46 +0100 Subject: [PATCH] [IMP] Docstrings --- database_cleanup/model/purge_data.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/database_cleanup/model/purge_data.py b/database_cleanup/model/purge_data.py index 1d5741abc..bd405d639 100644 --- a/database_cleanup/model/purge_data.py +++ b/database_cleanup/model/purge_data.py @@ -37,7 +37,7 @@ class CleanupPurgeLineData(orm.TransientModel): def purge(self, cr, uid, ids, context=None): """ - Unlink columns upon manual confirmation. + Unlink data entries upon manual confirmation. """ data_ids = [] for line in self.browse(cr, uid, ids, context=context): @@ -61,6 +61,9 @@ class CleanupPurgeWizardData(orm.TransientModel): def find(self, cr, uid, context=None): """ + Collect all rows from ir_model_data that refer + to a nonexisting model, or to a nonexisting + row in the model's table. """ res = [] data_pool = self.pool['ir.model.data']