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

This commit is contained in:
Saqib 2021-07-12 14:32:37 +05:30 committed by GitHub
parent 38994bd494
commit b75b556bbb
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)