Merge pull request #48159 from frappe/mergify/bp/version-15-hotfix/pr-48131

fix: permission issue during reposting (backport #48131)
This commit is contained in:
rohitwaghchaure
2025-06-19 18:08:10 +05:30
committed by GitHub

View File

@@ -1105,6 +1105,7 @@ class StockReconciliation(StockController):
new_sle.actual_qty = row.current_qty * -1
new_sle.valuation_rate = row.current_valuation_rate
new_sle.serial_and_batch_bundle = row.current_serial_and_batch_bundle
new_sle.flags.ignore_permissions = 1
new_sle.submit()
creation = add_to_date(sle_creation, seconds=-1)