Permission/Access issues
I really dont know the purposes of that page. It seems to show all the contacts on ERPNext, not just GP users (admin/member/guest)
I can't say for sure, but I think it aims to facilitate user management and discovery within GP.
@huembw something is off with some of your email automation.
@blaggacao This is probably because when a new user is created, a User Profile is also created via after_insert hook. We should probably have a configuration for this.
Maybe this is a good fit to create a predicate:
user_type: DF.Link | None
I think the framework creates System User & Website User, by default.
class UserType(Document):
# begin: auto-generated types
# This code is auto-generated. Do not modify anything in this block.
from typing import TYPE_CHECKING
if TYPE_CHECKING:
from frappe.core.doctype.user_document_type.user_document_type import UserDocumentType
from frappe.core.doctype.user_select_document_type.user_select_document_type import (
UserSelectDocumentType,
)
from frappe.core.doctype.user_type_module.user_type_module import UserTypeModule
from frappe.types import DF
apply_user_permission_on: DF.Link | None
custom_select_doctypes: DF.Table[UserSelectDocumentType]
is_standard: DF.Check
role: DF.Link | None
select_doctypes: DF.Table[UserSelectDocumentType]
user_doctypes: DF.Table[UserDocumentType]
user_id_field: DF.Literal[None]
user_type_modules: DF.Table[UserTypeModule]