[Fix] Not able to select delivery note in delivery trip (#12912)

This commit is contained in:
rohitwaghchaure 2018-02-14 17:06:21 +05:30 committed by Nabin Hait
parent 0500ce445f
commit a13b177908

View File

@ -87,8 +87,7 @@ def get_contact_display(contact):
def get_delivery_notes(customer):
return frappe.db.get_all("Delivery Note", filters={
'customer': customer,
'docstatus': 1,
'status': ('!=', 'Completed')
'docstatus': 1
})
@frappe.whitelist()