commit | bbdd737b5c66e9cdc915fc922cc43c57bf58d72f | [log] [tgz] |
---|---|---|
author | Deepesh Garg <42651287+deepeshgarg007@users.noreply.github.com> | Tue May 14 11:56:59 2019 +0530 |
committer | GitHub <noreply@github.com> | Tue May 14 11:56:59 2019 +0530 |
tree | 872a6ff31f3685c343eed85cfbe14dfaa441f61c | |
parent | 39be1d43bc0dd55561ab57cdee3c9ccf55e9ef81 [diff] | |
parent | 571c5c8bf11a1d88e7dcdbb19e4b3ee02c75f6a9 [diff] |
Merge pull request #17590 from deepeshgarg007/inactive_items_row_develop fix: Do not append row if item is sold within days since last ordered
diff --git a/erpnext/accounts/report/inactive_sales_items/inactive_sales_items.py b/erpnext/accounts/report/inactive_sales_items/inactive_sales_items.py index 42761a5..b670e6e 100644 --- a/erpnext/accounts/report/inactive_sales_items/inactive_sales_items.py +++ b/erpnext/accounts/report/inactive_sales_items/inactive_sales_items.py
@@ -96,6 +96,8 @@ "qty": item_obj.qty, "days_since_last_order": item_obj.days_since_last_order }) + else: + continue data.append(row)