Skip to content

Lee Kim Alliance ERP

Host business-specific DocTypes, Pages, Reports, and dashboards for Lee Kim Alliance operations (clients, applications, billing, services, AGM-related features, debt management, Xero linkage, etc.).

TopicPage
Application updates, PDFs, printoutsApplication lifecycle & PDFs
Billing → payment success emailsBilling flow
Daily AGM cron, ACRA, cron conflictsAGM & scheduler
Xero tenants & application linkageXero tenant & contacts
Debt / collectionsDebt management
  • leekimerp/leekimerp/lee_kim_alliance_erp/doctype/, page/, report/, dashboard_chart/, etc.

Dozens of custom DocTypes; discover via lee_kim_alliance_erp/doctype/*/. Examples include Application, Billing, Xero-related tables, Company extensions, and operational entities. Use Frappe’s DocType list or search the repo for the entity name.

flowchart LR
A[Application / client record] --> B[Services & billing]
B --> C[Sales Invoice / Xero]
B --> D[Operational tasks & reports]
  • Desk: Custom DocTypes and Pages registered under this module
  • API: Many flows go through api/xero.py, api/stripe.py, api/user.py, etc., depending on feature
  • Hooks: doc_events in hooks.py for Application, Billing, and others

Not duplicated here — see Whitelisted API inventory and grep leekimerp.lee_kim_alliance_erp in Python for DocType controllers.

  • ERPNext accounting and selling modules
  • Xero, Stripe where configured
  • Company-level and integration DocTypes (Xero tenant, Stripe, etc.)
  • PDF generation on Application update (hooks.pygenerate_pdfs) — verify file storage and permissions on change.
  • Review commented AGM on_update and related cron notes in hooks.py before enabling disabled paths.