fix: permission issue during reposting

(cherry picked from commit dcc9fc2fec)
This commit is contained in:
Rohit Waghchaure
2025-06-18 18:03:04 +05:30
committed by Mergify
parent bf61014fe5
commit 6896216276

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)