fix: timeout error while submitting delivery note

This commit is contained in:
Rohit Waghchaure
2023-05-01 21:17:18 +05:30
parent 787313b875
commit 2d5ccc07b1
4 changed files with 15 additions and 15 deletions

View File

@@ -1392,7 +1392,7 @@ def regenerate_sle_for_batch_stock_reco(detail):
if not frappe.db.exists(
"Repost Item Valuation", {"voucher_no": doc.name, "status": "Queued", "docstatus": "1"}
):
doc.repost_future_sle_and_gle()
doc.repost_future_sle_and_gle(force=True)
def get_stock_reco_qty_shift(args):