fix: Added validation for stock reconciliation in stock ledger entry

This commit is contained in:
deepeshgarg007 2019-01-02 11:31:55 +05:30
parent 9eb99dc61e
commit 9c0c633259

View File

@ -31,7 +31,7 @@ class StockLedgerEntry(Document):
self.check_stock_frozen_date() self.check_stock_frozen_date()
self.actual_amt_check() 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 from erpnext.stock.doctype.serial_no.serial_no import process_serial_no
process_serial_no(self) process_serial_no(self)