new-site/performancewest_erpnext
justin 557b45f65d fix(erpnext): self-heal outgoing Email Account password from SMTP_* env
Root cause of recurring 'Password not found for Email Account Performance West
Outgoing': the account was shipped as a fixture with awaiting_password=1 and no
password. Email Account SMTP passwords are encrypted per-site and cannot live in
a fixture, so every `bench migrate` reimported the fixture and re-broke
outgoing mail (login notifications, password resets, welcome emails).

- Remove the Email Account fixture (it cannot carry the encrypted secret).
- Add email_account_sync.sync_outgoing_password: idempotent, exception-safe
  upsert that reconciles the account + password from SMTP_* env and clears
  awaiting_password.
- Wire it to after_migrate (repairs at end of every deploy/migrate, right after
  fixtures import) and the daily scheduler (heals out-of-band restore/restart
  drift).
- Pass SMTP_* into the erpnext + erpnext-scheduler containers so the sync has
  the secret (they previously had no SMTP env).
2026-06-17 09:48:28 -05:00
..
performancewest_erpnext fix(erpnext): self-heal outgoing Email Account password from SMTP_* env 2026-06-17 09:48:28 -05:00
pyproject.toml Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
README.md Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
requirements.txt Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00
setup.py Initial commit — Performance West telecom compliance platform 2026-04-27 06:54:22 -05:00

Performance West ERPNext

Custom payment gateways, surcharge hooks, and identity verification for Performance West Inc.

Features

  • PW Stripe Settings — Stripe Checkout Sessions gateway (Card+Klarna, ACH)
  • Surcharge hooks — Injects payment processing fee line items on Sales Invoices
  • Identity gate — Blocks CRTC orders without verified identity
  • Custom fields — Sales Order, Sales Invoice, Payment Request extensions

Installation

bench get-app performancewest_erpnext https://github.com/performancewest/performancewest_erpnext
bench --site your-site.com install-app performancewest_erpnext

Requires: frappe>=15, erpnext>=15, payments