(fix, workflow action): added indexing for user and status columns
This commit is contained in:
parent
c9c607b71d
commit
7aad78be75
1 changed files with 3 additions and 0 deletions
|
|
@ -17,6 +17,9 @@ class WorkflowAction(Document):
|
|||
pass
|
||||
|
||||
|
||||
def on_doctype_update():
|
||||
frappe.db.add_index("Workflow Action", ["status", "user"])
|
||||
|
||||
def get_permission_query_conditions(user):
|
||||
if not user: user = frappe.session.user
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue