fix: mapped doc

This commit is contained in:
Mangesh-Khairnar
2019-06-28 19:22:51 +05:30
parent 3eea9e3967
commit dfe0a9002a

View File

@@ -619,6 +619,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