From 948282897c401f2a2292fd2db175e96b1ca727a4 Mon Sep 17 00:00:00 2001 From: Ali <010109ali@gmail.com> Date: Tue, 4 Mar 2025 21:39:21 +0400 Subject: [PATCH] Bug fix --- az_locale/fixtures/currency.json | 2 +- az_locale/locale/setup_locale.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/az_locale/fixtures/currency.json b/az_locale/fixtures/currency.json index 277caf9..86e4511 100644 --- a/az_locale/fixtures/currency.json +++ b/az_locale/fixtures/currency.json @@ -2,7 +2,7 @@ { "doctype": "Currency", "name": "AZN", - "currency_name": "Azerbaijani Manat", + "currency_name": "AZN", "symbol": "₼", "fraction": "Qəpik", "fraction_units": 100, diff --git a/az_locale/locale/setup_locale.py b/az_locale/locale/setup_locale.py index 6db28a0..90e44c1 100644 --- a/az_locale/locale/setup_locale.py +++ b/az_locale/locale/setup_locale.py @@ -10,7 +10,7 @@ def setup_locale(): erpnext_locale_path = os.path.join(bench_path, "apps", "erpnext", "erpnext", "locale", "az.po") # Пути к файлам в кастомном приложении - app_path = os.path.join(bench_path, "apps", "your_app", "your_app", "locale") + app_path = os.path.join(bench_path, "apps", "az_locale", "az_locale", "locale") source_frappe = os.path.join(app_path, "az.po") source_erpnext = os.path.join(app_path, "az_erpnext.po")