'Draw an interpolated string using the specified sequence.
The sequence to use is specified by the ``sequence_code_or_id``
argument, which can be a code or an id (as controlled by the
``code_or_id`` argument. This method is deprecated.'

@api.model
def get_id(self, sequence_code_or_id, code_or_id='id'):

    _logger.warning('ir_sequence.get()    and    ir_sequence.get_id()    are    deprecated.    Please    use    ir_sequence.next_by_code()    or    ir_sequence.next_by_id().')
    if (code_or_id == 'id'):
        return self.browse(sequence_code_or_id).next_by_id()
    else:
        return self.next_by_code(sequence_code_or_id)
