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> |
||
|---|---|---|
| jey_erp | ||
| .gitignore | ||
| README.md | ||
| TASK_CONTEXT.md | ||
| license.txt | ||
| pyproject.toml | ||
README.md
Jey Erp
Azerbaijan localization for JeyERP
License
unlicense