diff --git a/erpnext/public/js/utils.js b/erpnext/public/js/utils.js index 355dadbc534..08b745d2c32 100755 --- a/erpnext/public/js/utils.js +++ b/erpnext/public/js/utils.js @@ -989,7 +989,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) {