[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):
|
def get_delivery_notes(customer):
|
||||||
return frappe.db.get_all("Delivery Note", filters={
|
return frappe.db.get_all("Delivery Note", filters={
|
||||||
'customer': customer,
|
'customer': customer,
|
||||||
'docstatus': 1,
|
'docstatus': 1
|
||||||
'status': ('!=', 'Completed')
|
|
||||||
})
|
})
|
||||||
|
|
||||||
@frappe.whitelist()
|
@frappe.whitelist()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user