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> |
||
|---|---|---|
| jey_wizard | ||
| .editorconfig | ||
| .eslintrc | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| README.md | ||
| license.txt | ||
| pyproject.toml | ||
README.md
Jey Wizard
Jey Wizard
Installation
You can install this app using the bench CLI:
cd $PATH_TO_YOUR_BENCH
bench get-app $URL_OF_THIS_REPO --branch main
bench install-app jey_wizard
Contributing
This app uses pre-commit for code formatting and linting. Please install pre-commit and enable it for this repository:
cd apps/jey_wizard
pre-commit install
Pre-commit is configured to use the following tools for checking and formatting your code:
- ruff
- eslint
- prettier
- pyupgrade
License
unlicense