From 232ad777c9316888210f59e24494f57e5ad2e90c Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Tue, 4 Aug 2015 11:21:54 +0530 Subject: [PATCH] [fix][patch] Remove fifo stack entry if qty after transaction is zero via stock reconciliation --- erpnext/patches.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/patches.txt b/erpnext/patches.txt index 961d97e652..761f1a94b3 100644 --- a/erpnext/patches.txt +++ b/erpnext/patches.txt @@ -187,3 +187,4 @@ execute:frappe.db.sql("update `tabLeave Type` set include_holiday=0") erpnext.patches.v5_4.set_root_and_report_type erpnext.patches.v5_4.notify_system_managers_regarding_wrong_tax_calculation erpnext.patches.v5_4.fix_invoice_outstanding +execute:frappe.db.sql("update `tabStock Ledger Entry` set stock_queue = '[]' where voucher_type = 'Stock Reconciliation' and ifnull(qty_after_transaction, 0) = 0") \ No newline at end of file