Watch
1
0
Fork
You've already forked Seyyed_arc
0
forked from hesabix/arc
Seyyed_arc/hesabixAPI
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Seyyed bf6cdc93ac fix(variants): harden unified inventory costing and commerce workflows
Apply the C01-C08d and R01/R02 corrections and the reviewed High issue fixes through H33, including Native allocation trust, cancellation, cost/FX/zero handling, order splitting, refunds, dates and root-commit hooks.

Add regression coverage and Persian audit/progress reports. The final validated suite has 894 passing tests, with all 856 previous cases and 44 prior test-file hashes preserved. H34 and the remaining documented issues stay open; this commit is not a deployment-readiness declaration.
2026-11-06 16:49:49 +03:30
..
.github/workflows change file permissions 2026-04-14 19:34:55 +03:30
adapters fix(variants): harden unified inventory costing and commerce workflows 2026-11-06 16:49:49 +03:30
app fix(variants): harden unified inventory costing and commerce workflows 2026-11-06 16:49:49 +03:30
assets more bug fix in permission control and reports 2026-05-07 22:21:45 +03:30
deployment/systemd Stop deploy pip from stalling on dead extra-index mirrors. 2026-10-28 17:45:51 +03:30
docs fix(invoices): allow sales at exact stock 2026-10-03 17:11:35 +03:30
examples change file permissions 2026-04-14 19:34:55 +03:30
locales feat(inventory): add optional product variants for stock splits 2026-11-01 02:47:27 +03:30
migrations feat: unify product variants with native inventory and commerce contracts 2026-11-01 19:42:00 +03:30
nginx-conf.d some more bug fix in telephony connector 2026-08-06 07:12:10 +00:00
nginx-snippets some more bug fix in telephony connector 2026-08-06 07:12:10 +00:00
scripts Add the fixed-assets plugin with per-business legal settings. 2026-10-28 16:32:31 +03:30
templates Fix invoice PDF currency symbols when the general print setting is on. 2026-10-27 19:15:20 +03:30
tests fix(variants): harden unified inventory costing and commerce workflows 2026-11-06 16:49:49 +03:30
vendor/voice_wheels progress in ai 2026-05-28 14:18:39 +00:00
.gitignore chore(repo): remove generated cross-platform artifacts 2026-10-24 21:55:42 +03:30
.pre-commit-config.yaml change file permissions 2026-04-14 19:34:55 +03:30
=0.9.14 change file permissions 2026-04-14 19:34:55 +03:30
=1.15.0 change file permissions 2026-04-14 19:34:55 +03:30
=3.1.0 change file permissions 2026-04-14 19:34:55 +03:30
=5.9.0 change file permissions 2026-04-14 19:34:55 +03:30
alembic.ini change file permissions 2026-04-14 19:34:55 +03:30
alembic_build.ini change file permissions 2026-04-14 19:34:55 +03:30
analyze_business_endpoints.py change file permissions 2026-04-14 19:34:55 +03:30
analyze_migrations.py change file permissions 2026-04-14 19:34:55 +03:30
api.hesabix.ir.conf change file permissions 2026-04-14 19:34:55 +03:30
check_notification_issue.py change file permissions 2026-04-14 19:34:55 +03:30
check_ticket_notification.py change file permissions 2026-04-14 19:34:55 +03:30
debug_telegram_notification.py change file permissions 2026-04-14 19:34:55 +03:30
docker-compose.yml some security bug fix 2026-06-19 22:03:43 +00:00
Dockerfile change file permissions 2026-04-14 19:34:55 +03:30
env.example Merge remote-tracking branch 'pr32/windows-weasyprint-runtime' 2026-10-25 18:06:59 +03:30
f.mirror.hesabix.ir.conf add shabake tamin network 2026-05-20 15:30:21 +00:00
fix_null_strings.sql change file permissions 2026-04-14 19:34:55 +03:30
gradle.mirror.hesabix.ir.conf add shabake tamin network 2026-05-20 15:30:21 +00:00
hesabix.db change file permissions 2026-04-14 19:34:55 +03:30
maven.mirror.hesabix.ir.conf add shabake tamin network 2026-05-20 15:30:21 +00:00
migration_checkpoint.json change file permissions 2026-04-14 19:34:55 +03:30
migrations_backup_20251206_031601.tar.gz change file permissions 2026-04-14 19:34:55 +03:30
mysql.conf change file permissions 2026-04-14 19:34:55 +03:30
p-mirror-pypi.conf add shabake tamin network 2026-05-20 15:30:21 +00:00
pyproject.toml fix(backend): support Windows timezone and CAPTCHA fonts 2026-10-23 21:23:45 +03:30
pytest.ini chore(repo): remove generated cross-platform artifacts 2026-10-24 21:55:42 +03:30
README.md fix(products): optimize Excel import opening balance 2026-10-01 19:44:08 +03:30
rq_worker.py add calendar and note taking 2026-04-15 17:33:30 +00:00
run_migrations.py change file permissions 2026-04-14 19:34:55 +03:30
run_notification_worker.sh big progress 2025-12-09 02:51:12 +00:00
test_create_ticket.sh change file permissions 2026-04-14 19:34:55 +03:30
test_create_ticket_via_api.sh big progress 2025-12-09 02:51:12 +00:00
test_notification_manual.md change file permissions 2026-04-14 19:34:55 +03:30
test_notification_simple.py change file permissions 2026-04-14 19:34:55 +03:30
test_notify_operators.py change file permissions 2026-04-14 19:34:55 +03:30
test_ticket_notification.py change file permissions 2026-04-14 19:34:55 +03:30
test_ticket_with_notification.py change file permissions 2026-04-14 19:34:55 +03:30

Hesabix API

Monolithic modular backend (DDD-lite) using FastAPI + SQLAlchemy + MySQL.

Quickstart (Dev)

  1. Create and fill .env from .env.example.
  2. Install dependencies:
pip install -e .[dev]
  1. Run app:
uvicorn app.main:app --reload

Health endpoint: GET /api/v1/health.

Configuration

  • See app/core/settings.py and .env.example.
  • چت CRM و WebSocket: اگر Redis برای API خاموش است، برای رویدادهای زندهٔ چت باید تک worker یا sticky وب‌سوکت باشد؛ جزییات: docs/CRM_CHAT_WEBSOCKET_DEPLOYMENT.md.
  • معماری، رفتار تراکنشی و راهنمای پایش ایمپورت Excel کالا/خدمت: docs/PRODUCT_EXCEL_IMPORT_PERFORMANCE.md.