fix: permission issue during reposting
(cherry picked from commit dcc9fc2fec)
This commit is contained in:
committed by
Mergify
parent
bf61014fe5
commit
6896216276
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user