Merge pull request #22106 from Anurag810/employee_onboarding_fix
fix: problem during assigning
This commit is contained in:
commit
904e0f4eda
@ -73,11 +73,11 @@ class EmployeeBoardingController(Document):
|
||||
def assign_task_to_users(self, task, users):
|
||||
for user in users:
|
||||
args = {
|
||||
'assign_to' : user,
|
||||
'doctype' : task.doctype,
|
||||
'name' : task.name,
|
||||
'description' : task.description or task.subject,
|
||||
'notify': self.notify_users_by_email
|
||||
'assign_to': [user],
|
||||
'doctype': task.doctype,
|
||||
'name': task.name,
|
||||
'description': task.description or task.subject,
|
||||
'notify': self.notify_users_by_email
|
||||
}
|
||||
assign_to.add(args)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user