kapital_bank/kapital_bank
Ali 2f10fb4aa0 fix: skip mapping creation if document creation fails in Both mode
In "Both" mode, mappings were saved before documents were created,
so a failed document still produced a mapping entry.

Now for "Both" mode: document is created first, and the mapping row
is added only on success. Settings are saved once after all transactions.
"Mappings Only" and "Documents & Reconcile" modes are unaffected.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-16 16:16:20 +04:00
..
client fixed documents & reconcile option 2026-03-12 15:01:04 +04:00
config feat: Initialize App 2026-02-20 14:13:47 +04:00
kapital_bank added currency to mappings 2026-03-13 21:28:17 +04:00
patches reconsiliation tool modified 2026-03-10 19:47:52 +04:00
public feat: Initialize App 2026-02-20 14:13:47 +04:00
templates feat: Initialize App 2026-02-20 14:13:47 +04:00
__init__.py feat: Initialize App 2026-02-20 14:13:47 +04:00
api.py bug fixes 2026-03-04 21:50:37 +04:00
auth.py added bank transaction 2026-03-03 17:56:08 +04:00
bank_api.py feat: add kb_account_type custom field to Journal Entry 2026-03-16 15:31:28 +04:00
hooks.py reconsiliation tool modified 2026-03-10 19:47:52 +04:00
mapping.py fix: skip mapping creation if document creation fails in Both mode 2026-03-16 16:16:20 +04:00
modules.txt feat: Initialize App 2026-02-20 14:13:47 +04:00
patches.txt reconsiliation tool modified 2026-03-10 19:47:52 +04:00
payment_api.py payment entry import works 2026-02-26 22:04:10 +04:00
setup.py feat: add kb_account_type custom field to Journal Entry 2026-03-16 15:31:28 +04:00