fix: app path correctly

This commit is contained in:
khushi8112
2025-09-25 13:08:54 +05:30
parent 0d58dfd0fa
commit 3abdfcb269

View File

@@ -283,7 +283,7 @@ def update_pegged_currencies():
def create_letter_head():
base_path = frappe.get_app_path("erpnext", "letterhead")
base_path = frappe.get_app_path("erpnext", "accounts", "letterhead")
letterhead_with_background_colour = frappe.read_file(
os.path.join(base_path, "letterhead_with_background_colour.html")
)