mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 08:54:45 +00:00
fix: app path correctly
This commit is contained in:
@@ -283,7 +283,7 @@ def update_pegged_currencies():
|
|||||||
|
|
||||||
|
|
||||||
def create_letter_head():
|
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(
|
letterhead_with_background_colour = frappe.read_file(
|
||||||
os.path.join(base_path, "letterhead_with_background_colour.html")
|
os.path.join(base_path, "letterhead_with_background_colour.html")
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user