fix: typo
This commit is contained in:
parent
0bc2e197b2
commit
216223abc8
2 changed files with 3 additions and 3 deletions
|
|
@ -299,7 +299,7 @@ def get_users_next_action_data(transitions, doc):
|
|||
filtered_users = [
|
||||
user for user in users if has_approval_access(user, doc, transition) and user_has_permission(user)
|
||||
]
|
||||
if doc.get("owner") and not transition.get("send_email_to_creator"):
|
||||
if doc.get("owner") in filtered_users and not transition.get("send_email_to_creator"):
|
||||
filtered_users.remove(doc.get("owner"))
|
||||
for user in filtered_users:
|
||||
if not user_data_map.get(user):
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@
|
|||
},
|
||||
{
|
||||
"default": "1",
|
||||
"depends_on": "eval: doc.allow_self_approval === \"1\"",
|
||||
"depends_on": "eval: doc.allow_self_approval == 1",
|
||||
"fieldname": "send_email_to_creator",
|
||||
"fieldtype": "Check",
|
||||
"label": "Send Email To Creator"
|
||||
|
|
@ -104,7 +104,7 @@
|
|||
"idx": 1,
|
||||
"istable": 1,
|
||||
"links": [],
|
||||
"modified": "2025-03-24 02:03:23.926703",
|
||||
"modified": "2025-03-24 02:47:44.188152",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Workflow",
|
||||
"name": "Workflow Transition",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue