diff --git a/frappe/core/doctype/doctype/doctype.py b/frappe/core/doctype/doctype/doctype.py index bb9dd8bed6..2e2f28349b 100644 --- a/frappe/core/doctype/doctype/doctype.py +++ b/frappe/core/doctype/doctype/doctype.py @@ -1655,7 +1655,7 @@ def validate_fields(meta: Meta): _("Field {0} must be a virtual field to support virtual doctype.").format( frappe.bold(docfield.fieldname) ), - title=_("Virtual tabels must be virtual fields"), + title=_("Virtual tables must be virtual fields"), ) def check_max_height(docfield): diff --git a/frappe/core/doctype/user/user.json b/frappe/core/doctype/user/user.json index 4c9bbe3c3b..f593f114f2 100644 --- a/frappe/core/doctype/user/user.json +++ b/frappe/core/doctype/user/user.json @@ -844,6 +844,7 @@ "label": "Sessions" }, { + "depends_on": "eval:doc.name == frappe.session.user", "fieldname": "active_sessions", "fieldtype": "Table", "is_virtual": 1, @@ -902,7 +903,7 @@ } ], "make_attachments_public": 1, - "modified": "2025-06-25 12:42:47.074515", + "modified": "2025-10-15 18:07:21.606511", "modified_by": "Administrator", "module": "Core", "name": "User",