mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-01 04:28:27 +00:00
fix: duplicate entries being shown in batch exists in future transact… (#54604)
fix: duplicate entries being shown in batch exists in future transactions msg
(cherry picked from commit 54f20de7e3)
Co-authored-by: Mihir Kandoi <kandoimihir@gmail.com>
This commit is contained in:
@@ -931,6 +931,7 @@ class SerialandBatchBundle(Document):
|
||||
parent.voucher_type,
|
||||
parent.voucher_no,
|
||||
)
|
||||
.distinct()
|
||||
.where(
|
||||
(child.parent != self.name)
|
||||
& (parent.item_code == self.item_code)
|
||||
|
||||
Reference in New Issue
Block a user