fix: move the rename abbreviation job to long queue (#26462)

This commit is contained in:
Saqib 2021-07-13 14:13:39 +05:30 committed by GitHub
parent fad426fd5c
commit 621927d9f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -395,7 +395,7 @@ class Company(NestedSet):
@frappe.whitelist()
def enqueue_replace_abbr(company, old, new):
kwargs = dict(company=company, old=old, new=new)
kwargs = dict(queue="long", company=company, old=old, new=new)
frappe.enqueue('erpnext.setup.doctype.company.company.replace_abbr', **kwargs)