The Employee list-view import bar relied solely on transient
publish_realtime("amas_import_progress") events. After the setup wizard
redirects to /app and the list reattaches, those in-flight events are
already gone — so the bar froze at "Reconnecting..." (0%) and employees
appeared all at once on the final refresh.
Persist each progress tick to Redis (_set_import_progress, exposed via
get_amas_import_status) and add a 2s polling fallback in employee.js that
drives the bar monotonically and detects completion even when the
realtime amas_import_complete is missed. Closing the bar still never
cancels the enqueued worker job.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
||
|---|---|---|
| invoice_az | ||
| test_invoice.git | ||
| .editorconfig | ||
| .eslintrc | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| BUGFIX_STATUS_201.md | ||
| BUGFIX_TAX_TYPE.md | ||
| BUGS_VAT_OPERATIONS.md | ||
| CLAUDE.md | ||
| IMPLEMENTATION_COMPLETE.txt | ||
| IMPLEMENTATION_SUMMARY.md | ||
| MIGRATION_GUIDE.md | ||
| PLASTIC_DISPOSAL_IMPLEMENTATION.md | ||
| PROJECT_OVERVIEW.md | ||
| QA_SEND_INVOICE.md | ||
| README.md | ||
| README_TAX_TYPE_FEATURE.md | ||
| TECHNICAL_SPEC_TAX_TYPE.md | ||
| TIRE_DISPOSAL_IMPLEMENTATION.md | ||
| USER_GUIDE_TAX_TYPE.md | ||
| classification_codes.txt | ||
| invoice asan.txt | ||
| invoice.txt | ||
| item_group_codes.txt | ||
| item_group_codes_service.txt | ||
| license.txt | ||
| pyproject.toml | ||
README.md
Invoice Az
This application uploads and downloads invoices from e taxes gov az
Installation
You can install this app using the bench CLI:
cd $PATH_TO_YOUR_BENCH
bench get-app $URL_OF_THIS_REPO --branch develop
bench install-app invoice_az
Contributing
This app uses pre-commit for code formatting and linting. Please install pre-commit and enable it for this repository:
cd apps/invoice_az
pre-commit install
Pre-commit is configured to use the following tools for checking and formatting your code:
- ruff
- eslint
- prettier
- pyupgrade
License
unlicense