Bank materialize was finding no parent account and skipping everything: the AZ CoA keeps "Bank hesablaşma hesabları" (223) as a LEAF and the 223.1/223.2/... currency placeholders as siblings under the real group "Pul vəsaitləri və onların ekvivalentləri" (22). The finder now walks 223 → 22 → name-prefix and lands on 22, which is where real bank GL accounts need to go. Placeholder sweep widened from "% AZXX%" to any leaf under the bank parent whose name contains XXXX — catches the "Kart XXXX…AZN" template too. Valuation was only being written to Company.valuation_method, which wins in erpnext.stock.utils.get_valuation_method but is invisible on the Stock Settings page users actually open to verify. Now we write both via frappe.db.set_single_value. Company abbreviation is editable on the company step with a live- suggested default. Deriver strips every quote variant and collapses the AZ legal-form boilerplate (MƏHDUD MƏSULİYYƏTLİ CƏMİYYƏTİ → MMC, AÇIQ/QAPALI SƏHMDAR CƏMİYYƏTİ → ASC/QSC, SƏHMDAR CƏMİYYƏTİ → SC, KOOPERATİV → K) before tokenising, so "XYZ MMC" produces XM instead of the old deriver's M-with-a-stray-quote. Manual edits stick. Validated A-Z0-9, 1–10 chars. |
||
|---|---|---|
| jey_wizard | ||
| .editorconfig | ||
| .eslintrc | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| CLAUDE.md | ||
| 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