From 65353e55903c9c84103f71f00039ce8365db8c10 Mon Sep 17 00:00:00 2001 From: Marica Date: Fri, 27 Dec 2019 15:30:47 +0530 Subject: [PATCH] fix: Show both warehouse columns in Stock Entry Grid view. (#20114) --- erpnext/stock/doctype/stock_entry/stock_entry.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/erpnext/stock/doctype/stock_entry/stock_entry.js b/erpnext/stock/doctype/stock_entry/stock_entry.js index ca480f969d8..ea27c6f5d5b 100644 --- a/erpnext/stock/doctype/stock_entry/stock_entry.js +++ b/erpnext/stock/doctype/stock_entry/stock_entry.js @@ -836,8 +836,6 @@ erpnext.stock.StockEntry = erpnext.stock.StockController.extend({ this.frm.toggle_enable("from_warehouse", doc.purpose!='Material Receipt'); this.frm.toggle_enable("to_warehouse", doc.purpose!='Material Issue'); - this.frm.fields_dict["items"].grid.set_column_disp("s_warehouse", doc.purpose!='Material Receipt'); - this.frm.fields_dict["items"].grid.set_column_disp("t_warehouse", doc.purpose!='Material Issue'); this.frm.fields_dict["items"].grid.set_column_disp("retain_sample", doc.purpose=='Material Receipt'); this.frm.fields_dict["items"].grid.set_column_disp("sample_quantity", doc.purpose=='Material Receipt');