You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Due for payment 2026-07-21] Legacy/imported unreported expenses can't be moved to a report in NewDot (missing IOU report action) #93799
Some unreported expenses don't expose the Move to report action in NewDot (neither the bulk/Search action nor the secondary action on the expense), even though equivalent expenses created natively in NewDot can be moved. This blocks users from organizing legacy/imported expenses into reports and forces them back to Classic.
Root cause
For an unreported expense, Move to report eligibility is gated on NewDot finding an IOU money-request report action (CREATE or TRACK) whose originalMessage.IOUTransactionID matches the transaction, via getIOUActionForTransactionID. That result feeds both:
the Search-page canChangeReport flag (hard-coded false when the row has no reportAction).
Natively-created NewDot expenses have that IOU action → eligible. Legacy/imported transactions (e.g. scraper/emailed-in, or imported personal-card cash expenses from Classic) predate or skip that flow, so no IOU action links back to them → the option is hidden.
NewDot already compensates for viewing via the "Legacy transaction fallback: creating money request preview" path, which only runs if (transaction && !parentReportActionID): src/libs/actions/Report/index.ts#L1610-L1703. But that backfill only happens on OpenReport, so the missing report action — which the Move-to-report action keys off — is never created for expenses the user hasn't opened.
Note: this is not caused by a failed SmartScan. A native expense with a SCANFAILED receipt still moves fine; the gap is specifically the missing IOU/preview report action on legacy/imported transactions.
Proposed fix
Backfill the missing IOU/preview report action for legacy unreported transactions outside of OpenReport (so the data exists before the report is opened), and ensure imported personal-card cash expenses are created with NewDot-compatible report-action plumbing. This complements the migration tracked in #80180 (which removes the on-open fallback once all old transactions are migrated).
Repro transactions
1176490375256638168 — legacy/imported unreported expense — can't be moved (no IOU action; legacy fallback fires on open).
4466175716520248865 — natively-created unreported expense (SCANFAILED receipt) — can be moved.
changed the title [-]Legacy/imported unreported expenses can't be moved to a report in NewDot (missing IOU report action)[/-][+][Due for payment 2026-07-21] Legacy/imported unreported expenses can't be moved to a report in NewDot (missing IOU report action)[/+]on Jul 14, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.4.33-8 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
Activity
melvin-bot commentedon Jun 22, 2026
@mollfpr Huh... This is 4 days overdue. Who can take care of this?
melvin-bot commentedon Jun 24, 2026
@mollfpr Still overdue 6 days?! Let's take care of this!
melvin-bot commentedon Jun 26, 2026
@mollfpr 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it!
mollfpr commentedon Jun 29, 2026
Sorry was OOO last week 🙏
Picking up this!
mollfpr commentedon Jul 2, 2026
PR is drafted. Going to finish it today.
[-]Legacy/imported unreported expenses can't be moved to a report in NewDot (missing IOU report action)[/-][+][Due for payment 2026-07-21] Legacy/imported unreported expenses can't be moved to a report in NewDot (missing IOU report action)[/+]melvin-bot commentedon Jul 14, 2026
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Jul 14, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.4.33-8 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2026-07-21. 🎊
melvin-bot commentedon Jul 17, 2026
@mollfpr Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!