From b1e887a43e36ad5c0ae03e066827dbb5ead396f2 Mon Sep 17 00:00:00 2001 From: Holger Brunn Date: Thu, 30 Jun 2016 08:32:32 +0200 Subject: [PATCH] [FIX] copy&paste --- database_cleanup/models/purge_wizard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database_cleanup/models/purge_wizard.py b/database_cleanup/models/purge_wizard.py index 7fad9fbe2..aa44ffe84 100644 --- a/database_cleanup/models/purge_wizard.py +++ b/database_cleanup/models/purge_wizard.py @@ -89,6 +89,6 @@ class PurgeWizard(models.AbstractModel): if not self.env.ref('database_cleanup.menu_database_cleanup')\ .parent_id._filter_visible_menus(): raise AccessDenied - return super(CleanupPurgeLine, self).create(values) + return super(PurgeWizard, self).create(values) purge_line_ids = fields.One2many('cleanup.purge.line', 'wizard_id')