feat(erpsetup): sales catalogue — SKU items, units, SEPA mandate fields (#48)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
This commit was merged in pull request #48.
This commit is contained in:
1 parent
f96525dd4d
commit
8a03be188d
4 files changed
+181
-9
No files matched your search
@@ -1,12 +1,13 @@
|
||||
// erpsetup — applies the live-ERPNext configuration the tenant-registry needs
|
||||
// (custom fields, the Usage Record doctype, the Frappe Webhooks). Idempotent;
|
||||
// (custom fields, the Usage Record doctype, the sales catalogue with SKU items
|
||||
// and SEPA mandate fields, the Frappe Webhooks). Idempotent;
|
||||
// run with -dry-run first. It never submits, cancels or deletes ERP documents.
|
||||
//
|
||||
// ERP_BASE_URL=https://erp.breakpilot.com ERP_API_KEY=… ERP_API_SECRET=… \
|
||||
// ERP_WEBHOOK_SECRET=… erpsetup -webhook-url https://registry.breakpilot.com/v1/internal/erp/webhook -dry-run
|
||||
//
|
||||
// The API user needs System Manager for this run (it creates a DocType and
|
||||
// Webhooks); the registry's day-to-day key can then have a narrower role.
|
||||
// The API user needs System Manager for this run (it creates a DocType,
|
||||
// Webhooks, items and custom fields); the registry's day-to-day key can then have a narrower role.
|
||||
package main
|
||||
|
||||
import (
|
||||
|
||||
Reference in new issue
Block a user