Skip to content

fix(bank-payments): a Standard (auto) statement confirms the e-mail transfers - #528

Merged
Panelica merged 1 commit into
Panelica:mainfrom
ertugrulkeyvan:fix/bank-payments-standard-import
Nov 30, 2026
Merged

Panelica merged 1 commit into
Panelica:mainfrom
ertugrulkeyvan:fix/bank-payments-standard-import

Conversation

@ertugrulkeyvan

Copy link
Copy Markdown
Contributor

A transfer read from the bank's e-mail is stored under the mailbox's bank (nest_bank). A Standard (auto) statement import looked for duplicates, and for an active mailbox, under the bank name standard. So:

  • a statement row for a transfer already known from the e-mail was stored a second time instead of confirming it;
  • a verification-only import with Standard (auto) was always refused for want of a mailbox.

A Standard (auto) file now looks across every bank, as it cannot know which one it came from. A named bank also sees rows an earlier Standard (auto) import stored, so switching between the two options does not duplicate either.

The test that covered the duplicate case set the e-mail transfer's bank to standard by hand, which no real e-mail transfer has; the new tests use the mailbox's bank.

Rows already imported twice before this change are left as they are.

…ransfers

A transfer read from the bank's e-mail is stored under the mailbox's bank
(nest_bank), while a Standard (auto) import looked for duplicates and for an
active mailbox under the bank name 'standard'. A statement row for a transfer
already known from the e-mail was therefore stored a second time instead of
confirming it, and a verification-only import with Standard (auto) was always
refused for want of a mailbox.

A standard file now looks across every bank, and a named bank also sees the
rows an earlier Standard (auto) import stored.
@Panelica
Panelica merged commit 9fdcdbf into Panelica:main Nov 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants