def METHOD_NAME(self):
    for record in self.filtered(lambda x: x._need_compute_nfe40_dup()):
        dups_vals = []
        for count, mov in enumerate(record.move_ids.financial_move_line_ids, 1):
            dups_vals.append(
                {
                    "nfe40_nDup": str(count).zfill(3),
                    "nfe40_dVenc": mov.date_maturity,
                    "nfe40_vDup": mov.debit,
                }
            )
        record.nfe40_dup = [(2, dup, 0) for dup in record.nfe40_dup.ids]
        record.nfe40_dup = [(0, 0, dup) for dup in dups_vals]