feat: Add task weight for employee onboarding activity (#17216)
This activity weight will be used to update the task weight
This commit is contained in:
committed by
Faris Ansari
parent
54ba900e72
commit
c90364f94d
@@ -45,7 +45,8 @@ class EmployeeBoardingController(Document):
|
||||
"subject": activity.activity_name + " : " + self.employee_name,
|
||||
"description": activity.description,
|
||||
"department": self.department,
|
||||
"company": self.company
|
||||
"company": self.company,
|
||||
"task_weight": activity.task_weight
|
||||
}).insert(ignore_permissions=True)
|
||||
activity.db_set("task", task.name)
|
||||
users = [activity.user] if activity.user else []
|
||||
|
||||
Reference in New Issue
Block a user