commit | a917bec8da96b857a0f354434415cfc2a3c78bca | [log] [tgz] |
---|---|---|
author | Himanshu <himanshuwarekar@yahoo.com> | Fri Jun 28 19:46:00 2019 +0530 |
committer | GitHub <noreply@github.com> | Fri Jun 28 19:46:00 2019 +0530 |
tree | b48b70a7359255b5e62f95cd5aec96d3cf47b83a | |
parent | e4934907029e54d64b33ae62ec92f68850322ada [diff] | |
parent | 0aa4e40edffdfde42c3bc179dfcea02ec4d1d909 [diff] |
Merge branch 'develop' into mapped_doc_fix
diff --git a/erpnext/public/js/utils.js b/erpnext/public/js/utils.js index 64b96b5..dd8abfb 100755 --- a/erpnext/public/js/utils.js +++ b/erpnext/public/js/utils.js
@@ -595,6 +595,7 @@ } erpnext.utils.clear_duplicates = function() { + if(!cur_frm.doc.items) return; const unique_items = new Map(); /* Create a Map of items with