fix: Stock Reconciliation document update while reposting

(cherry picked from commit db159dd11f)
This commit is contained in:
s-aga-r
2023-06-12 18:28:16 +05:30
committed by Mergify
parent 79483cc90e
commit 8b617fb75e

View File

@@ -803,7 +803,7 @@ class update_entries_after(object):
for item in sr.items:
# Skip for Serial and Batch Items
if item.serial_no or item.batch_no:
if item.name != sle.voucher_detail_no or item.serial_no or item.batch_no:
continue
previous_sle = get_previous_sle(