Skip to content

v15.2.0

Latest

Choose a tag to compare

@FawazAlhafiz FawazAlhafiz released this 06 Jul 13:15

Added

  • Bank Guarantee-BG doctype: Providing/Receiving bank guarantees with Issue, Extend, Return, Close, and Re-Open actions, posting raw GL Entry rows against the per-company accounts configured on Optima Payment Setting. Includes a Bank Guarantee-BG Report.
  • Letter of Credit doctype: Providing/Receiving LCs that book cash-margin collateral via system-generated Payment Entries (Internal Transfer), with Extend, Return, Close, and Re-Open actions. Includes a Letter of Credit Report.
  • Tier-4 integration test suites for both doctypes — GL-row assertions for Bank Guarantee, generated-Payment-Entry assertions for Letter of Credit — decoupled from site-specific (WTS) logic so they run on standard ERPNext; both are auto-discovered by CI via a test_*.py rglob across the whole package.
  • Full documentation overhaul: domain-organized docs/ (cheque, bank-guarantee, letter-of-credit, setup, development) with Mermaid state/flow/entity diagrams, accountant/implementer user guides for all three features, a testing guide documenting the KSA test-environment assumptions, and an app-level CLAUDE.md.
  • First-time onboarding checklist in the README (EN/AR) covering the setup required before using Bank Guarantees or Letters of Credit.

Changed

  • Cheque Action Log validation refactored for clarity; Payment Entry frontend JS modularized; Optima Payment Setting lifecycle hooks reorganized; the setup framework's __init__ orchestration layer was removed in favor of an explicit per-feature file list.
  • CI bumped to Node 24-native GitHub Actions.

Fixed

  • Bank Account query filters for providing/receiving Letter of Credit accounts corrected (root_type filtering).
  • Rename patch made self-contained, removing a dependency on the banking module.
  • sync_banking_account_fields now includes the Bank Guarantee and Letter of Credit fields.
  • Test factory (tests/utils.py) now back-fills Bank Guarantee accounts on a pre-existing Optima Payment Setting and satisfies KSA site customizations (Arabic name fields), so the Bank Guarantee and Letter of Credit suites run on customized sites.
  • Assorted custom-field JSON schema fixes.

Full Changelog: v15.1.1...v15.2.0