fix: Added validation for stock reconciliation in stock ledger entry
This commit is contained in:
parent
9eb99dc61e
commit
9c0c633259
@ -31,7 +31,7 @@ class StockLedgerEntry(Document):
|
||||
self.check_stock_frozen_date()
|
||||
self.actual_amt_check()
|
||||
|
||||
if not self.get("via_landed_cost_voucher"):
|
||||
if not self.get("via_landed_cost_voucher") and self.voucher_type != 'Stock Reconciliation':
|
||||
from erpnext.stock.doctype.serial_no.serial_no import process_serial_no
|
||||
process_serial_no(self)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user