fix(invoiceintake): ToDos are assigned by the intake user #83

Merged
sharang merged 2 commits from fix/intake-todo-assigned-by into main 2026-10-20 09:01:46 +00:00
2 Commits
Author SHA1 Message Date
Sharang ParnerkarandClaude Opus 5.5 3d093f84af fix(invoiceintake): forwarded invoices get an enter-by-hand ToDo
ci / shared (pull_request) Successful in 14s
ci / test (pull_request) Successful in 25m38s
ci / image (pull_request) Skipped
A mail from our own domain or a freemail address no supplier has was
forwarded by a person; no supplier record can match it, so the ToDo now
says to enter the invoice by hand instead of suggesting a retry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 10:35:33 +02:00
Sharang ParnerkarandClaude Opus 5.5 e96bd39e21 fix(invoiceintake): ToDos are assigned by the intake user
ci / shared (pull_request) Successful in 13s
ci / test (pull_request) Successful in 25m30s
ci / image (pull_request) Skipped
Frappe 15.112 lets a user without System Manager create a ToDo only when
it is assigned to or by that user (the owner clause came later), so the
first live run got 403 on its first ToDo. The service now asks ERPNext
for its own user once and sets it as assigned_by.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 10:34:02 +02:00