perf: SABB taking time to save the record

This commit is contained in:
Rohit Waghchaure
2025-12-28 10:36:43 +05:30
parent ca00b46507
commit 20320c4a6c
5 changed files with 129 additions and 32 deletions

View File

@@ -778,9 +778,8 @@ class TestSubcontractingController(IntegrationTestCase):
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: