mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 16:34:46 +00:00
* fix: timeout error while submitting JV (#42040)
(cherry picked from commit 32bdcdb08f)
# Conflicts:
# erpnext/accounts/doctype/account/account.json
# erpnext/accounts/doctype/sales_invoice/test_sales_invoice.py
# erpnext/accounts/utils.py
# erpnext/stock/doctype/stock_ledger_entry/stock_ledger_entry.json
* chore: fix conflicts
* chore: fix conflicts
* chore: fix conflicts
* chore: fix conflicts
---------
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
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