Merge pull request #6539 from rohitwaghchaure/stock_entry_grid_issue

[Fix] Source / Target warehouse does not toggle properly, if we change the purpose after saving a stock entry record
This commit is contained in:
Nabin Hait
2016-10-04 16:20:47 +05:30
committed by GitHub

View File

@@ -356,6 +356,7 @@ cur_frm.fields_dict['production_order'].get_query = function(doc) {
}
cur_frm.cscript.purpose = function(doc, cdt, cdn) {
cur_frm.fields_dict.items.grid.refresh();
cur_frm.cscript.toggle_related_fields(doc);
}