Go to file
Ali f5b7e56577 fix(e-taxes): reliable dialog/progress close + working Cancel across all forms
Under jey_theme/Bootstrap, soft .hide() / frappe.hide_progress() does NOT
reliably remove a modal — it sticks and the next dialog stacks on top of it
(e.g. the ASAN auth "success" message stayed under the date/org picker).
The loading-spinner Cancel button only changed its label, never closing.

- dialogs.hide(): force modal('hide') + remove() + orphaned-backdrop cleanup
  (guarded by .modal:visible); no longer resets cancelLoading there so in-flight
  pagination callbacks still see the cancel and bail out
- Cancel button now actually closes the spinner
- add import._closeProgress() and route every frappe.hide_progress() through a
  robust force-close: purchase/sales order, sales invoice, journal entry,
  employee/AMAS (closeAmasProgress), and the E-Taxes unit list
- E-Taxes list-view loading dialogs (items/customers/suppliers/units) and their
  success paths force-close the same way

Applies the fix uniformly across all ETaxes JS modules and list views.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-12 16:47:05 +00:00
invoice_az fix(e-taxes): reliable dialog/progress close + working Cancel across all forms 2026-06-12 16:47:05 +00:00
test_invoice.git Fixed bugs, added new tabs and subtabs, load from everywhere and etc 2025-07-23 12:39:40 +04:00
.editorconfig feat: Initialize App 2025-04-24 18:29:13 +04:00
.eslintrc feat: Initialize App 2025-04-24 18:29:13 +04:00
.gitignore feat: Company Data Loading + Tax Policy reference lists 2026-04-21 13:59:29 +00:00
.pre-commit-config.yaml feat: Initialize App 2025-04-24 18:29:13 +04:00
BUGFIX_STATUS_201.md added purchase invoice act sending 2026-01-29 16:49:01 +04:00
BUGFIX_TAX_TYPE.md added purchase invoice act sending 2026-01-29 16:49:01 +04:00
BUGS_VAT_OPERATIONS.md added import from etaxes to journal entry, with all bugfixes 2026-01-13 22:31:30 +04:00
CLAUDE.md chore: use native Azərbaycan spelling in user-facing strings 2026-05-14 10:57:16 +00:00
IMPLEMENTATION_COMPLETE.txt added purchase invoice act sending 2026-01-29 16:49:01 +04:00
IMPLEMENTATION_SUMMARY.md bug fix 2026-01-30 20:38:24 +04:00
MIGRATION_GUIDE.md added purchase invoice act sending 2026-01-29 16:49:01 +04:00
PLASTIC_DISPOSAL_IMPLEMENTATION.md added purchase invoice act sending 2026-01-29 16:49:01 +04:00
PROJECT_OVERVIEW.md chore: use native Azərbaycan spelling in user-facing strings 2026-05-14 10:57:16 +00:00
QA_SEND_INVOICE.md added invoice sending to etaxes 2025-12-19 15:39:51 +04:00
README.md feat: Initialize App 2025-04-24 18:29:13 +04:00
README_TAX_TYPE_FEATURE.md chore: use native Azərbaycan spelling in user-facing strings 2026-05-14 10:57:16 +00:00
TECHNICAL_SPEC_TAX_TYPE.md chore: use native Azərbaycan spelling in user-facing strings 2026-05-14 10:57:16 +00:00
TIRE_DISPOSAL_IMPLEMENTATION.md added purchase invoice act sending 2026-01-29 16:49:01 +04:00
USER_GUIDE_TAX_TYPE.md added purchase invoice act sending 2026-01-29 16:49:01 +04:00
classification_codes.txt added more fucntionality in journal entry import 2026-01-14 23:00:55 +04:00
invoice asan.txt added invoice sending to etaxes 2025-12-19 15:39:51 +04:00
invoice.txt added invoice sending to etaxes 2025-12-19 15:39:51 +04:00
item_group_codes.txt added invoice sending to etaxes 2025-12-19 15:39:51 +04:00
item_group_codes_service.txt added invoice sending to etaxes 2025-12-19 15:39:51 +04:00
license.txt feat: Initialize App 2025-04-24 18:29:13 +04:00
pyproject.toml feat: Initialize App 2025-04-24 18:29:13 +04:00

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