fix: move the rename abbreviation job to long queue (#26434)
This commit is contained in:
parent
b4ea185eca
commit
9e1819d366
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user