commit | 0ca60afc3fb7190cbba58ef42b84c51bffb9d660 | [log] [tgz] |
---|---|---|
author | Ankush Menat <ankush@frappe.io> | Tue Feb 08 10:24:19 2022 +0530 |
committer | GitHub <noreply@github.com> | Tue Feb 08 10:24:19 2022 +0530 |
tree | be4ff0fc48c9e15b7368ba908c24f326d4045e6c | |
parent | a3e69cf75d27198132d05c7c10475a0297b1e190 [diff] |
fix: ignore cancelled SLEs (#29679)
diff --git a/erpnext/controllers/stock_controller.py b/erpnext/controllers/stock_controller.py index 9be5c0d..c8e5edd 100644 --- a/erpnext/controllers/stock_controller.py +++ b/erpnext/controllers/stock_controller.py
@@ -215,7 +215,7 @@ from `tabStock Ledger Entry` 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) for sle in stock_ledger_entries: