Azerbaijan localization for JeyERP
Go to file
Ali 4c1f582db9 feat(in_words): native Azerbaijani format for in_words / base_in_words
Frappe's money_in_words() produces "AZN Dörd Min Doqquz Yüz yalnız." for
1234.00 AZN — grammatically gettext-friendly but not how Azerbaijani
documents actually look. Native convention is "Min iki yüz otuz dörd
manat 56 qəpik": sentence-case number, lowercase currency word, fraction
as digits, no "only" suffix.

format_in_words_az is hooked as a validate doc_event on every doctype
that carries in_words / base_in_words (11 in total: Sales/Purchase Order,
Sales/Purchase Invoice, Quotation, Delivery Note, etc.). Runs after the
controller's own set_total_in_words has populated the field, then
overwrites it. No-op for any language other than az.

Uses grand_total (not rounded_total) to preserve qəpik precision, since
ERPNext's Rounded Total can round to whole manat per the Currency's
rounding_method.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-25 16:47:23 +00:00
jey_erp feat(in_words): native Azerbaijani format for in_words / base_in_words 2026-05-25 16:47:23 +00:00
.gitignore fix(file-format): hide rarely-used 'Use Currency From File' toggle 2026-05-18 12:42:57 +00:00
BANK_INTEGRATION_PLAN.md chore: use native Azərbaycan spelling in user-facing strings 2026-05-14 10:56:52 +00:00
README.md chore: use native Azərbaycan spelling in user-facing strings 2026-05-14 10:56:52 +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 chore: use native Azərbaycan spelling in user-facing strings 2026-05-14 10:56:52 +00:00

README.md

Jey Erp

Azərbaycan localization for JeyERP

License

unlicense