Merge pull request #17590 from deepeshgarg007/inactive_items_row_develop
fix: Do not append row if item is sold within days since last ordered
This commit is contained in:
commit
bbdd737b5c
@ -96,6 +96,8 @@ def get_data(filters):
|
|||||||
"qty": item_obj.qty,
|
"qty": item_obj.qty,
|
||||||
"days_since_last_order": item_obj.days_since_last_order
|
"days_since_last_order": item_obj.days_since_last_order
|
||||||
})
|
})
|
||||||
|
else:
|
||||||
|
continue
|
||||||
|
|
||||||
data.append(row)
|
data.append(row)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user