diff --git a/erpnext/hooks.py b/erpnext/hooks.py index a6a2e25e441..788aaea00a8 100644 --- a/erpnext/hooks.py +++ b/erpnext/hooks.py @@ -27,6 +27,11 @@ update_website_context = "erpnext.shopping_cart.utils.update_website_context" my_account_context = "erpnext.shopping_cart.utils.update_my_account_context" email_append_to = ["Job Applicant", "Opportunity", "Issue"] +website_context = { + "favicon": "/assets/erpnext/images/favicon.png" + +} + website_route_rules = [ {"from_route": "/orders", "to_route": "Sales Order"}, {"from_route": "/orders/", "to_route": "print", "defaults": {"doctype": "Sales Order"}}, @@ -101,3 +106,4 @@ get_translated_dict = { ("page", "setup-wizard"): "frappe.geo.country_info.get_translated_dict", ("doctype", "Global Defaults"): "frappe.geo.country_info.get_translated_dict" } + diff --git a/erpnext/public/images/favicon.ico b/erpnext/public/images/favicon.ico deleted file mode 100644 index 4fbf3f27ce6..00000000000 Binary files a/erpnext/public/images/favicon.ico and /dev/null differ diff --git a/erpnext/public/images/favicon.png b/erpnext/public/images/favicon.png new file mode 100644 index 00000000000..590588ee900 Binary files /dev/null and b/erpnext/public/images/favicon.png differ