fix: SBB Total Qty validation for SE
diff --git a/erpnext/controllers/stock_controller.py b/erpnext/controllers/stock_controller.py
index 671d2fb..de86846 100644
--- a/erpnext/controllers/stock_controller.py
+++ b/erpnext/controllers/stock_controller.py
@@ -395,11 +395,7 @@
}
for row in self.get(table_name):
- for field in [
- "serial_and_batch_bundle",
- "current_serial_and_batch_bundle",
- "rejected_serial_and_batch_bundle",
- ]:
+ for field in QTY_FIELD.keys():
if row.get(field):
frappe.get_doc("Serial and Batch Bundle", row.get(field)).set_serial_and_batch_values(
self, row, qty_field=QTY_FIELD[field]