fix: mapped doc

This commit is contained in:
Mangesh-Khairnar 2019-06-28 19:22:51 +05:30
parent 42c8a4baa0
commit e493490702

View File

@ -595,6 +595,7 @@ erpnext.utils.map_current_doc = function(opts) {
}
erpnext.utils.clear_duplicates = function() {
if(!cur_frm.doc.items) return;
const unique_items = new Map();
/*
Create a Map of items with