'Loads needaction counters for specific menu ids.
:return: needaction data
:rtype: dict(menu_id: {\'needaction_enabled\': boolean, \'needaction_counter\': int})'

@http.route('/web/menu/load_needaction', type='json', auth='user')
def load_needaction(self, menu_ids):

    return request.env['ir.ui.menu'].browse(menu_ids).get_needaction_data()
