fix: Travis (#18772)
This commit is contained in:
parent
960a1cbd8f
commit
5efedd7a60
@ -24,7 +24,7 @@ def validate_return_against(doc):
|
||||
else:
|
||||
ref_doc = frappe.get_doc(doc.doctype, doc.return_against)
|
||||
|
||||
if ref_doc.company == doc.company and ref_doc.customer = doc.customer and ref_doc.docstatus == 1:
|
||||
if ref_doc.company == doc.company and ref_doc.customer == doc.customer and ref_doc.docstatus == 1:
|
||||
# validate posting date time
|
||||
return_posting_datetime = "%s %s" % (doc.posting_date, doc.get("posting_time") or "00:00:00")
|
||||
ref_posting_datetime = "%s %s" % (ref_doc.posting_date, ref_doc.get("posting_time") or "00:00:00")
|
||||
|
Loading…
x
Reference in New Issue
Block a user