commit | 4dcba49b5f851f46b53676d20cd4385d5b506a6c | [log] [tgz] |
---|---|---|
author | deepeshgarg007 <deepeshgarg6@gmail.com> | Tue May 14 08:49:24 2019 +0530 |
committer | deepeshgarg007 <deepeshgarg6@gmail.com> | Tue May 14 08:53:24 2019 +0530 |
tree | ca40e4eab902005eaafbd0f6ceaa88f658f84c56 | |
parent | 73706f85aabc36f8af282d675d9a3204d78cb8de [diff] |
fix: Do not append row if item is sold within days since last order
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)