Browse Source

[FIX] pass context

pull/239/head
Holger Brunn 9 years ago
parent
commit
18ed8f6a3c
  1. 2
      database_cleanup/model/purge_menus.py

2
database_cleanup/model/purge_menus.py

@ -38,7 +38,7 @@ class CleanupPurgeLineMenu(orm.TransientModel):
[this.menu_id.id for this in self.browse(cr, uid, ids, [this.menu_id.id for this in self.browse(cr, uid, ids,
context=context)], context=context)],
context=context) context=context)
return self.write(cr, uid, ids, {'purged': True})
return self.write(cr, uid, ids, {'purged': True}, context=context)
class CleanupPurgeWizardMenu(orm.TransientModel): class CleanupPurgeWizardMenu(orm.TransientModel):

Loading…
Cancel
Save