mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 03:01:22 +00:00
perf: SABB taking time to save the record
(cherry picked from commit 20320c4a6c)
# Conflicts:
# erpnext/stock/doctype/serial_and_batch_bundle/serial_and_batch_bundle.py
# erpnext/stock/serial_batch_bundle.py
This commit is contained in:
committed by
Mergify
parent
d83365734e
commit
ee9debe581
@@ -778,9 +778,8 @@ class TestSubcontractingController(FrappeTestCase):
|
||||
row.serial_no = "ABC"
|
||||
break
|
||||
|
||||
bundle.save()
|
||||
self.assertRaises(frappe.ValidationError, bundle.save)
|
||||
|
||||
self.assertRaises(frappe.ValidationError, scr1.save)
|
||||
bundle.load_from_db()
|
||||
for row in bundle.entries:
|
||||
if row.idx == 1:
|
||||
|
||||
Reference in New Issue
Block a user