mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-16 19:49:18 +00:00
fix: patient - user welcome email configuration
This commit is contained in:
@@ -33,7 +33,6 @@ class Patient(Document):
|
|||||||
"email": self.email,
|
"email": self.email,
|
||||||
"user_type": "Website User"
|
"user_type": "Website User"
|
||||||
})
|
})
|
||||||
user.flags.no_welcome_email = True
|
|
||||||
user.flags.ignore_permissions = True
|
user.flags.ignore_permissions = True
|
||||||
user.add_roles("Patient")
|
user.add_roles("Patient")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user