def METHOD_NAME(self):
    for pos in self:
        seq = pos.l10n_es_simplified_invoice_sequence_id
        pos.l10n_es_simplified_invoice_number = (
            seq._get_current_sequence().number_next_actual
        )
        pos.l10n_es_simplified_invoice_prefix = seq._get_prefix_suffix()[0]
        pos.l10n_es_simplified_invoice_padding = seq.padding