Commit Graph

4 Commits

Author SHA1 Message Date
Ali 7662e784b2 Call stock setup_complete endpoint directly from client
The Python finalize() shim imported frappe.desk.page.setup_wizard.setup_wizard.setup_complete
and called it as a plain function, which bypassed the HTTP/whitelist code path the default
wizard uses. This made the setup_company stage silently drop the Company insert via
make_records' blanket except, so downstream setup_wizard_complete hooks blew up with
"Company Test Company AZ not found".

Build all hardcoded AZ defaults on the client and call the stock endpoint over HTTP so we
go through typing_validations, sanitize_input and parse_args exactly like the default
wizard. api.py is left as a placeholder for future integrations.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-22 13:09:40 +00:00
Ali 34f0ab2d15 fixed bug with user 2026-04-22 12:59:10 +00:00
Ali 8f8a936693 first commit 2026-04-22 11:52:25 +00:00
Ali 1bb4ecfb6c feat: Initialize App 2026-04-22 10:00:16 +00:00