mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-14 04:15:10 +00:00
fix: app path correctly
This commit is contained in:
@@ -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")
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user