mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-23 13:12:22 +01:00
Merge pull request #53062 from Sanjesh2254/fix/sle-voucher-type-comparison
This commit is contained in:
@@ -1303,7 +1303,7 @@ class update_entries_after:
|
||||
else:
|
||||
if sle.voucher_type in ("Delivery Note", "Sales Invoice"):
|
||||
ref_doctype = "Packed Item"
|
||||
elif sle == "Subcontracting Receipt":
|
||||
elif sle.voucher_type == "Subcontracting Receipt":
|
||||
ref_doctype = "Subcontracting Receipt Supplied Item"
|
||||
else:
|
||||
ref_doctype = "Purchase Receipt Item Supplied"
|
||||
|
||||
Reference in New Issue
Block a user