Every app_include_js entry is appended to the desk `Link: rel=preload` header; this deployment's edge proxy has a ~4 KB header buffer and overflowing it returns 502 (see jey_layout/hooks.py). jey_erp was the biggest contributor with 9 desk-wide scripts, 7 of which are form-scoped and were loading on every desk page for nothing (asset.js alone is 1143 lines). - Move vat_calculator/sales_invoice_vat/tax_articles/certificates → Sales Invoice doctype_js; vat_calculator/sales_order_vat → Sales Order; asset → Asset. doctype_js is inlined into form meta server-side, never touching the preload header. Order preserved (vat_calculator first — *_vat.js call jey_erp.vat_calculator.init at load time). - Delete public/js/sales_invoice.js: empty (0 lines) and already a dup doctype_js entry. - app_include_js: 9 → 2 (link_field_fix.js + bank_excel_import.bundle.js). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| jey_erp | ||
| .gitignore | ||
| BANK_INTEGRATION_PLAN.md | ||
| README.md | ||
| TASK_CONTEXT.md | ||
| license.txt | ||
| pyproject.toml | ||
README.md
Jey Erp
Azərbaycan localization for JeyERP
License
unlicense