frm.set_query("asset", "assets", () => {
const currentUser = frappe.session.user;
const userLocation = frappe.get_doc('User', currentUser).location;
const filters = {
status: ["not in", ["Draft"]],
location: userLocation,
};
using this code,
asset field is not showing anything in the Asset Movement Doctype,
if code is incorrect, please help me out
Thanks and Regards,
Shubham