mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 00:44:45 +00:00
(cherry picked from commit 0ca60afc3f)
Co-authored-by: Ankush Menat <ankush@frappe.io>
This commit is contained in:
@@ -215,7 +215,7 @@ class StockController(AccountsController):
|
|||||||
from
|
from
|
||||||
`tabStock Ledger Entry`
|
`tabStock Ledger Entry`
|
||||||
where
|
where
|
||||||
voucher_type=%s and voucher_no=%s
|
voucher_type=%s and voucher_no=%s and is_cancelled = 0
|
||||||
""", (self.doctype, self.name), as_dict=True)
|
""", (self.doctype, self.name), as_dict=True)
|
||||||
|
|
||||||
for sle in stock_ledger_entries:
|
for sle in stock_ledger_entries:
|
||||||
|
|||||||
Reference in New Issue
Block a user