mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-16 03:29:16 +00:00
fix: move the rename abbreviation job to long queue (#26434)
This commit is contained in:
@@ -395,7 +395,7 @@ class Company(NestedSet):
|
|||||||
|
|
||||||
@frappe.whitelist()
|
@frappe.whitelist()
|
||||||
def enqueue_replace_abbr(company, old, new):
|
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)
|
frappe.enqueue('erpnext.setup.doctype.company.company.replace_abbr', **kwargs)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user