[Fix] Timeout error for bom update tool (#15343)

This commit is contained in:
rohitwaghchaure 2018-09-07 16:16:58 +05:30 committed by Nabin Hait
parent bd4348db10
commit 3cc77b52e7

View File

@ -62,7 +62,7 @@ def enqueue_replace_bom(args):
if isinstance(args, string_types):
args = json.loads(args)
frappe.enqueue("erpnext.manufacturing.doctype.bom_update_tool.bom_update_tool.replace_bom", args=args)
frappe.enqueue("erpnext.manufacturing.doctype.bom_update_tool.bom_update_tool.replace_bom", args=args, timeout=4000)
frappe.msgprint(_("Queued for replacing the BOM. It may take a few minutes."))
@frappe.whitelist()