[IMP] requirements in Camelcase

This commit is contained in:
tarteo
2017-02-24 15:57:24 +01:00
parent f845a46ea8
commit 442cdd9c8f
2 changed files with 13 additions and 14 deletions

View File

@@ -9,6 +9,5 @@ class IrUiView(models.Model):
def unlink(self):
res = super(IrUiView, self).unlink()
shortcuts = self.env['web.shortcut'].search([('menu_id', '=', False)])
for shortcut in shortcuts:
shortcut.unlink()
shortcuts.unlink()
return res