mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-16 18:24:10 +00:00
fix: timeout error while submitting JV (#42040)
This commit is contained in:
@@ -68,8 +68,6 @@ def get_stock_value_on(
|
||||
frappe.qb.from_(sle)
|
||||
.select(IfNull(Sum(sle.stock_value_difference), 0))
|
||||
.where((sle.posting_date <= posting_date) & (sle.is_cancelled == 0))
|
||||
.orderby(CombineDatetime(sle.posting_date, sle.posting_time), order=frappe.qb.desc)
|
||||
.orderby(sle.creation, order=frappe.qb.desc)
|
||||
)
|
||||
|
||||
if warehouses:
|
||||
|
||||
Reference in New Issue
Block a user