Azerbaijan localization for JeyERP
Go to file
Ali 3aa4e61a1d perf: idempotent bulk update for custom fields on migrate
Replace per-field delete+create loop (which forced ALTER TABLE on all 222
custom fields every migrate) with idempotent bulk update that only writes
when a field's definition actually changed. Saves with ignore_version=True
to bypass the Frappe Version diff bug that crashes on certain int values.

Also remove the top-level create_custom_fields() call so the function only
runs from after_migrate, not on every module import.

Optional JEY_ERP_FORCE_RECREATE_FIELDS=1 env var preserves the old
delete+create path for development.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-28 10:55:21 +00:00
jey_erp perf: idempotent bulk update for custom fields on migrate 2026-04-28 10:55:21 +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