From b897225136cdbbb0a8369343a589dabb3a556b0a Mon Sep 17 00:00:00 2001 From: Ankush Menat Date: Tue, 9 Jan 2024 22:04:24 +0530 Subject: [PATCH] fix: Remove reference to non-existing doctype --- erpnext/crm/doctype/appointment/appointment.py | 2 +- erpnext/startup/boot.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/erpnext/crm/doctype/appointment/appointment.py b/erpnext/crm/doctype/appointment/appointment.py index a735510d7d..541f77b1ba 100644 --- a/erpnext/crm/doctype/appointment/appointment.py +++ b/erpnext/crm/doctype/appointment/appointment.py @@ -76,7 +76,7 @@ class Appointment(Document): self.create_calendar_event() else: # Set status to unverified - self.status = "Unverified" + self.db_set("status", "Unverified") # Send email to confirm self.send_confirmation_email() diff --git a/erpnext/startup/boot.py b/erpnext/startup/boot.py index 4cd0ef4eef..d2be1a0242 100644 --- a/erpnext/startup/boot.py +++ b/erpnext/startup/boot.py @@ -9,8 +9,6 @@ from frappe.utils import cint def boot_session(bootinfo): """boot session - send website info if guest""" - bootinfo.custom_css = frappe.db.get_single_value("Style Settings", "custom_css") or "" - if frappe.session["user"] != "Guest": update_page_info(bootinfo)