mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-05 19:42:45 +00:00
perf: Ignore validating links
Framework does this anyway and does it faster.
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user