We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e09bf3 commit 7d950f7Copy full SHA for 7d950f7
1 file changed
erpnext/accounts/doctype/pos_closing_entry/pos_closing_entry.js
@@ -4,19 +4,6 @@
4
frappe.ui.form.on("POS Closing Entry", {
5
onload: async function (frm) {
6
frm.ignore_doctypes_on_cancel_all = ["POS Invoice Merge Log", "Sales Invoice"];
7
- frm.set_query("pos_profile", function (doc) {
8
- return {
9
- filters: { user: doc.user },
10
- };
11
- });
12
-
13
- frm.set_query("user", function (doc) {
14
15
- query: "erpnext.accounts.doctype.pos_closing_entry.pos_closing_entry.get_cashiers",
16
- filters: { parent: doc.pos_profile },
17
18
19
20
frm.set_query("pos_opening_entry", function (doc) {
21
return { filters: { status: "Open", docstatus: 1 } };
22
});
0 commit comments