commit | 02c3b41dc27f4826b63b5694862af7c0ce9dc7e1 | [log] [tgz] |
---|---|---|
author | Rohit Waghchaure <rohitw1991@gmail.com> | Mon Apr 24 14:50:27 2023 +0530 |
committer | Rohit Waghchaure <rohitw1991@gmail.com> | Mon Apr 24 14:50:27 2023 +0530 |
tree | eb8e5a05cbd368d581de220e6406c29418a87eb4 | |
parent | 9fa72cb9d89a54baf7bddc79f5a13299129e791a [diff] |
fix: item not showing in the BOM
diff --git a/erpnext/manufacturing/doctype/bom/bom.py b/erpnext/manufacturing/doctype/bom/bom.py index a085af8..b53149a 100644 --- a/erpnext/manufacturing/doctype/bom/bom.py +++ b/erpnext/manufacturing/doctype/bom/bom.py
@@ -1317,7 +1317,7 @@ if not field in searchfields ] - query_filters = {"disabled": 0, "end_of_life": (">", today())} + query_filters = {"disabled": 0, "ifnull(end_of_life, '3099-12-31')": (">", today())} or_cond_filters = {} if txt: