mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 03:09:09 +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
This commit is contained in:
@@ -931,6 +931,7 @@ class SerialandBatchBundle(Document):
|
|||||||
parent.voucher_type,
|
parent.voucher_type,
|
||||||
parent.voucher_no,
|
parent.voucher_no,
|
||||||
)
|
)
|
||||||
|
.distinct()
|
||||||
.where(
|
.where(
|
||||||
(child.parent != self.name)
|
(child.parent != self.name)
|
||||||
& (parent.item_code == self.item_code)
|
& (parent.item_code == self.item_code)
|
||||||
|
|||||||
Reference in New Issue
Block a user