Merge pull request #18107 from Mangesh-Khairnar/mapped_doc_fix
fix: clear duplicates in mapped doc
This commit is contained in:
commit
fc3731f15e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user