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

This commit is contained in:
Saqib 2021-07-12 14:31:57 +05:30 committed by GitHub
parent b4ea185eca
commit 9e1819d366
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)