Azerbaijan localization for JeyERP
Go to file
Ali 408bacfc84 feat(salary-components): auto-sync from default_data on migrate
Adds sync_salary_components() — full upsert from default_data JSON:
creates missing components, updates existing ones (formula, condition,
flags, accounts), and deletes those no longer in the JSON. If a
component cannot be deleted due to linked records, it is marked
disabled instead. Idempotent and safe to re-run.

Hooked into after_migrate_combined so every "bench migrate" picks up
the latest formulas — single source of truth is the JSON file.

Replaced default_data/salary_components.json with the current
production export (14 components, formulas use the f(base) + g(LE)
pattern for separate ƏH/MK accounting).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-01 12:45:11 +00:00
jey_erp feat(salary-components): auto-sync from default_data on migrate 2026-05-01 12:45:11 +00:00
.gitignore feat: Initialize App 2024-09-12 10:11:33 +00:00
README.md feat: Initialize App 2024-09-12 10:11:33 +00:00
TASK_CONTEXT.md renewed company_defaults 2026-03-26 17:44:45 +04:00
license.txt feat: Initialize App 2024-09-12 10:11:33 +00:00
pyproject.toml feat: Initialize App 2024-09-12 10:11:33 +00:00

README.md

Jey Erp

Azerbaijan localization for JeyERP

License

unlicense