[minor] remove validation #4904

This commit is contained in:
Rushabh Mehta 2016-08-11 17:17:16 +05:30
parent 6c0d9579d2
commit 730f3e7aba

View File

@ -78,10 +78,6 @@ class StockReconciliation(StockController):
default_currency = frappe.db.get_default("currency") default_currency = frappe.db.get_default("currency")
# validate no of rows
if len(self.items) > 100:
frappe.throw(_("""Max 100 rows for Stock Reconciliation."""))
for row_num, row in enumerate(self.items): for row_num, row in enumerate(self.items):
# find duplicates # find duplicates
if [row.item_code, row.warehouse] in item_warehouse_combinations: if [row.item_code, row.warehouse] in item_warehouse_combinations: