diff --git a/erpnext/public/js/utils.js b/erpnext/public/js/utils.js index 59d2c90dc14..989c361dd8e 100755 --- a/erpnext/public/js/utils.js +++ b/erpnext/public/js/utils.js @@ -974,7 +974,7 @@ erpnext.utils.map_current_doc = function (opts) { } if (query_args.filters || query_args.query) { - opts.get_query = () => query_args; + opts.get_query = () => JSON.parse(JSON.stringify(query_args)); } if (opts.source_doctype) {