fix: incorrect qty during reset (#47593)

This commit is contained in:
rohitwaghchaure
2025-05-18 22:50:46 +05:30
committed by GitHub
parent 0daeb26e96
commit a058fe7319

View File

@@ -517,7 +517,6 @@ class SerialandBatchBundle(Document):
"item_code": self.item_code,
"warehouse": self.warehouse,
"serial_and_batch_bundle": self.name,
"actual_qty": self.total_qty,
"company": self.company,
"serial_nos": [row.serial_no for row in self.entries if row.serial_no],
"batch_nos": {row.batch_no: row for row in self.entries if row.batch_no},