Holger Brunn
9 years ago
No known key found for this signature in database
GPG Key ID: 1C9760FECA3AE18
1 changed files with
1 additions and
1 deletions
-
database_cleanup/models/purge_wizard.py
|
@ -89,6 +89,6 @@ class PurgeWizard(models.AbstractModel): |
|
|
if not self.env.ref('database_cleanup.menu_database_cleanup')\ |
|
|
if not self.env.ref('database_cleanup.menu_database_cleanup')\ |
|
|
.parent_id._filter_visible_menus(): |
|
|
.parent_id._filter_visible_menus(): |
|
|
raise AccessDenied |
|
|
raise AccessDenied |
|
|
return super(CleanupPurgeLine, self).create(values) |
|
|
|
|
|
|
|
|
return super(PurgeWizard, self).create(values) |
|
|
|
|
|
|
|
|
purge_line_ids = fields.One2many('cleanup.purge.line', 'wizard_id') |
|
|
purge_line_ids = fields.One2many('cleanup.purge.line', 'wizard_id') |