'Create a sequence, in implementation == standard a fast gaps-allowed PostgreSQL sequence is used.'

@api.model
def create(self, values):

    seq = super(IrSequence, self).create(values)
    if (values.get('implementation', 'standard') == 'standard'):
        _create_sequence(self._cr, ('ir_sequence_%03d' % seq.id), values.get('number_increment', 1), values.get('number_next', 1))
    return seq
