[Fix] Not able to select delivery note in delivery trip (#12912)
This commit is contained in:
parent
0500ce445f
commit
a13b177908
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user