fix: reposting record not created for backdated stock reco

(cherry picked from commit 6851b5ba97)
This commit is contained in:
Rohit Waghchaure
2023-04-11 13:24:43 +05:30
committed by Mergify
parent 994272b966
commit 9b90323d53
3 changed files with 87 additions and 3 deletions

View File

@@ -1375,6 +1375,7 @@ def regenerate_sle_for_batch_stock_reco(detail):
doc.recalculate_current_qty(detail.item_code, detail.batch_no)
doc.docstatus = 1
doc.update_stock_ledger()
doc.repost_future_sle_and_gle()
def get_stock_reco_qty_shift(args):