From 62158731dfcc4d13482c75b98e144f209f6c558d Mon Sep 17 00:00:00 2001 From: Shadrak Gurupnor Date: Fri, 22 Dec 2023 11:31:00 +0530 Subject: [PATCH] fix: use new_doc instead of get_doc --- helpdesk/setup/install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpdesk/setup/install.py b/helpdesk/setup/install.py index f5f5d7272..7cda1854f 100644 --- a/helpdesk/setup/install.py +++ b/helpdesk/setup/install.py @@ -31,7 +31,7 @@ def after_install(): def add_support_redirect_to_tickets(): - website_settings = frappe.get_doc("Website Settings") + website_settings = frappe.new_doc("Website Settings") for route_redirects in website_settings.route_redirects: if route_redirects.source == "support":