perf: Ignore validating links

Framework does this anyway and does it faster.
This commit is contained in:
Ankush Menat
2025-05-28 15:37:09 +05:30
parent 0a1fc3e24f
commit e1d14d8ac2

View File

@@ -595,10 +595,6 @@ class StockReconciliation(StockController):
)
)
# validate warehouse
if not frappe.db.get_value("Warehouse", row.warehouse):
self.validation_messages.append(_get_msg(row_num, _("Warehouse not found in the system")))
# if both not specified
if row.qty in ["", None] and row.valuation_rate in ["", None]:
self.validation_messages.append(