diff --git a/erpnext/crm/doctype/appointment/appointment.py b/erpnext/crm/doctype/appointment/appointment.py index a735510d7d4e..541f77b1ba61 100644 --- a/erpnext/crm/doctype/appointment/appointment.py +++ b/erpnext/crm/doctype/appointment/appointment.py @@ -76,7 +76,7 @@ def after_insert(self): 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 4cd0ef4eeff4..d2be1a02420f 100644 --- a/erpnext/startup/boot.py +++ b/erpnext/startup/boot.py @@ -9,8 +9,6 @@ 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)