def METHOD_NAME(self):
    for rec in self:
        if (
            rec.state_edoc == "em_digitacao"
            or not rec._need_compute_nfe_tags()
            or rec._is_without_payment()
        ):
            continue
        if not rec.move_ids.payment_mode_id:
            raise UserError(_("Payment Mode cannot be empty for this NF-e/NFC-e"))
        if not rec.move_ids.payment_mode_id.fiscal_payment_mode:
            raise UserError(
                _(
                    f"Payment Mode {rec.move_ids.payment_mode_id.name} should has "
                    "has Fiscal Payment Mode filled to be used in Fiscal Document!"
                )
            )