Moved daily event (update_latest_price_in_all_boms) to daily_long since it was timing out (#15253)
diff --git a/erpnext/hooks.py b/erpnext/hooks.py
index 7d553dc..300808a 100644
--- a/erpnext/hooks.py
+++ b/erpnext/hooks.py
@@ -240,12 +240,14 @@
"erpnext.stock.doctype.serial_no.serial_no.update_maintenance_status",
"erpnext.buying.doctype.supplier_scorecard.supplier_scorecard.refresh_scorecards",
"erpnext.setup.doctype.company.company.cache_companies_monthly_sales_history",
- "erpnext.manufacturing.doctype.bom_update_tool.bom_update_tool.update_latest_price_in_all_boms",
"erpnext.assets.doctype.asset.asset.update_maintenance_status",
"erpnext.assets.doctype.asset.asset.make_post_gl_entry",
"erpnext.crm.doctype.contract.contract.update_status_for_contracts",
"erpnext.projects.doctype.project.project.update_project_sales_billing"
- ],
+ ],
+ "daily_long": [
+ "erpnext.manufacturing.doctype.bom_update_tool.bom_update_tool.update_latest_price_in_all_boms"
+ ],
"monthly": [
"erpnext.accounts.doctype.sales_invoice.sales_invoice.booked_deferred_revenue",
"erpnext.hr.utils.allocate_earned_leaves"