Merge pull request #35646 from s-aga-r/FIX-ISS-23-24-01138-1

fix: Stock Reconciliation document update while reposting
This commit is contained in:
Sagar Sharma 2023-06-12 18:42:34 +05:30 committed by GitHub
commit f1e902be5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -944,7 +944,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(