fix: enqueue submit/cancel action for stock entry having more than 50 line items (#36532)
diff --git a/erpnext/stock/doctype/stock_entry/stock_entry.py b/erpnext/stock/doctype/stock_entry/stock_entry.py
index 0059a3f..a2cae7f 100644
--- a/erpnext/stock/doctype/stock_entry/stock_entry.py
+++ b/erpnext/stock/doctype/stock_entry/stock_entry.py
@@ -187,7 +187,7 @@
return False
# If line items are more than 100 or record is older than 6 months
- if len(self.items) > 100 or month_diff(nowdate(), self.posting_date) > 6:
+ if len(self.items) > 50 or month_diff(nowdate(), self.posting_date) > 6:
return True
return False