'The order_line is ordered to the vendor but isn\'t received yet'

@api.one
def order(self):

    if self.user_has_groups('lunch.group_lunch_manager'):
        self.state = 'ordered'
    else:
        raise AccessError(_('Only    your    lunch    manager    processes    the    orders.'))
