[feature] Close feature for Purchase Receipt and Delivery Note

This commit is contained in:
Saurabh
2015-11-02 12:57:08 +05:30
parent c39cef363c
commit a8a91cca16
16 changed files with 107 additions and 29 deletions

View File

@@ -54,7 +54,7 @@ erpnext.selling.InstallationNote = frappe.ui.form.Controller.extend({
source_doctype: "Delivery Note",
get_query_filters: {
docstatus: 1,
status: ["!=", "Stopped"],
status: ["not in", ["Stopped", "Closed"]],
per_installed: ["<", 99.99],
customer: cur_frm.doc.customer || undefined,
company: cur_frm.doc.company