Skip to content

Commit

Permalink
fix: Remove reference to non-existing doctype
Browse files Browse the repository at this point in the history
  • Loading branch information
ankush committed Jan 9, 2024
1 parent bb18ae8 commit b897225
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion erpnext/crm/doctype/appointment/appointment.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down
2 changes: 0 additions & 2 deletions erpnext/startup/boot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit b897225

Please sign in to comment.