mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-29 18:04:46 +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 both not specified
|
||||||
if row.qty in ["", None] and row.valuation_rate in ["", None]:
|
if row.qty in ["", None] and row.valuation_rate in ["", None]:
|
||||||
self.validation_messages.append(
|
self.validation_messages.append(
|
||||||
|
|||||||
Reference in New Issue
Block a user