fix: incorrect qty during reset (#47593)
(cherry picked from commit a058fe7319)
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
This commit is contained in:
@@ -514,7 +514,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},
|
||||
|
||||
Reference in New Issue
Block a user