<reponame>Omar25Muhammad/omar_app<filename>omar_app/omarmodule/doctype/testusers/testusers.js<gh_stars>0// Copyright (c) 2022, Me and contributors
// For license information, please see license.txt

frappe.ui.form.on('TestUsers', {
	refresh: function (frm) {
	}
	// btn: function (frm) {
	// cur_frm.assign_to.add();
	// // cur_frm.assign_to.dialog.set_values({ "assign_to": frm.doc.financial_approver });
	// // frappe.db.set_value("TestUsers", "usr-213", "Assign To", "upchh@example.com");
	// cur_frm.assign_to.dialog.set_values({ "Description": "Urgent" });
	// cur_frm.assign_to.dialog.hide();
	// //cur_frm.assign_to.add_assignment();
	// frm.assign_to.dialog.primary_action();

	// fields_dict.assign_to.set_value("upchh@example.com");
	// fields_dict.assign_to.refresh();
	// }
});
