fix: set docstatus filter to ignore cancel document
diff --git a/erpnext/stock/doctype/landed_cost_voucher/landed_cost_voucher.py b/erpnext/stock/doctype/landed_cost_voucher/landed_cost_voucher.py
index 7f0dc2d..5e35c16 100644
--- a/erpnext/stock/doctype/landed_cost_voucher/landed_cost_voucher.py
+++ b/erpnext/stock/doctype/landed_cost_voucher/landed_cost_voucher.py
@@ -205,7 +205,7 @@
 				)
 				docs = frappe.db.get_all(
 					"Asset",
-					filters={receipt_document_type: item.receipt_document, "item_code": item.item_code},
+					filters={receipt_document_type: item.receipt_document, "item_code": item.item_code, "docstatus":['!=', 2]},
 					fields=["name", "docstatus"],
 				)
 				if not docs or len(docs) != item.qty: