mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-28 01:14:46 +00:00
fix: Remove reference to non-existing doctype
This commit is contained in:
@@ -76,7 +76,7 @@ class Appointment(Document):
|
|||||||
self.create_calendar_event()
|
self.create_calendar_event()
|
||||||
else:
|
else:
|
||||||
# Set status to unverified
|
# Set status to unverified
|
||||||
self.status = "Unverified"
|
self.db_set("status", "Unverified")
|
||||||
# Send email to confirm
|
# Send email to confirm
|
||||||
self.send_confirmation_email()
|
self.send_confirmation_email()
|
||||||
|
|
||||||
|
|||||||
@@ -9,8 +9,6 @@ from frappe.utils import cint
|
|||||||
def boot_session(bootinfo):
|
def boot_session(bootinfo):
|
||||||
"""boot session - send website info if guest"""
|
"""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":
|
if frappe.session["user"] != "Guest":
|
||||||
update_page_info(bootinfo)
|
update_page_info(bootinfo)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user