Browse Source

[FIX] copy&paste

pull/469/head
Holger Brunn 8 years ago
parent
commit
b1e887a43e
No known key found for this signature in database GPG Key ID: 1C9760FECA3AE18
  1. 2
      database_cleanup/models/purge_wizard.py

2
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')
Loading…
Cancel
Save